[PATCH] D56138: [Sanitizer] Enable getfsent api for Darwin/Linux
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 13:56:02 PST 2018
devnexen marked an inline comment as done.
devnexen added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:9061
COMMON_INTERCEPTOR_ENTER(ctx, getfsspec, spec);
- if (spec)
+ if (common_flags()->strict_string_checks && spec)
COMMON_INTERCEPTOR_READ_RANGE(ctx, spec, REAL(strlen)(spec) + 1);
----------------
krytarowski wrote:
> Why is it needed?
The unit test fails on Linux with msan.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56138/new/
https://reviews.llvm.org/D56138
More information about the llvm-commits
mailing list