[PATCH] D56138: [Sanitizer] Enable getfsent api for Darwin/Linux
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 13:51:45 PST 2018
krytarowski 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);
----------------
Why is it needed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56138/new/
https://reviews.llvm.org/D56138
More information about the llvm-commits
mailing list