[PATCH] D33149: Avoid a UB pointer overflow in the ArrayRef unit test
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 14:39:08 PDT 2017
vsk added a comment.
Ahmed and I chatted about this. We discussed an alternative to this patch, which is to test with a length of max<ptroff_t>. This version of the test wouldn't require any ifdefs, and would still add some coverage for r271546.
https://reviews.llvm.org/D33149
More information about the llvm-commits
mailing list