diff options
author | Tamir Duberstein <tamird@google.com> | 2021-11-03 10:16:20 -0700 |
---|---|---|
committer | Haowei Wu <haowei@google.com> | 2021-11-03 10:18:06 -0700 |
commit | 33d9b7b4b26d56b9cdc479bfd444e448d61fa978 (patch) | |
tree | cb85f98458334836db18909d6a6fe9dea134c0c5 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | f79e65e61fafedd439cbc120b2461fab831127f5 (diff) | |
download | llvm-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