aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPierre Gousseau <pierre.gousseau@sony.com>2022-05-30 17:00:10 +0100
committerPierre Gousseau <pierre.gousseau@sony.com>2022-05-30 17:00:10 +0100
commit4278b7e16a5b13d529c92d682ac76b53f93a4961 (patch)
tree810433959e1fe0547da1823617b8394c4ea94be7 /clang/lib/Frontend/CompilerInvocation.cpp
parent3f71765a71ca97433723b43c4f64931cace11ca1 (diff)
downloadllvm-4278b7e16a5b13d529c92d682ac76b53f93a4961.zip
llvm-4278b7e16a5b13d529c92d682ac76b53f93a4961.tar.gz
llvm-4278b7e16a5b13d529c92d682ac76b53f93a4961.tar.bz2
[sanitizers] Fixes strndup API behaviour when intercepted by sanitizers
Sanitizers ignore flag allocator_may_return_null=1 in strndup() calls. When OOM is emulated, this causes to the unexpected crash. Committed by pgousseau on behalf of "Kostyantyn Melnik, kmnls.kmnls@gmail.com" Reviewed by: pgousseau Differential Revision: https://reviews.llvm.org/D126452
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions