[PATCH] D54484: [lsan] [NFC] Change ARRAY_SIZE to internal_strnlen
George Karpenkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 14:17:02 PST 2018
george.karpenkov added a comment.
@fjricci Now the test is actually failing, because the size of e.g. "__objc_classlist" is 16, and kMaxSegName is also 16. I'm changing `<` to `<=`, and adding +1 to the second strnlen arguments.
(unless there are any objections)
Repository:
rL LLVM
https://reviews.llvm.org/D54484
More information about the llvm-commits
mailing list