aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-11-03 10:16:20 -0700
committerHaowei Wu <haowei@google.com>2021-11-03 10:18:06 -0700
commit33d9b7b4b26d56b9cdc479bfd444e448d61fa978 (patch)
treecb85f98458334836db18909d6a6fe9dea134c0c5 /clang/lib/Frontend/InitPreprocessor.cpp
parentf79e65e61fafedd439cbc120b2461fab831127f5 (diff)
downloadllvm-33d9b7b4b26d56b9cdc479bfd444e448d61fa978.zip
llvm-33d9b7b4b26d56b9cdc479bfd444e448d61fa978.tar.gz
llvm-33d9b7b4b26d56b9cdc479bfd444e448d61fa978.tar.bz2
[sanitizer] Mark before deref in PosixSpawnImpl
Read each pointer in the argv and envp arrays before dereferencing it; this correctly marks an error when these pointers point into memory that has been freed. Differential Revision: https://reviews.llvm.org/D113046
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions