aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-11-03 10:21:43 -0700
committerHaowei Wu <haowei@google.com>2021-11-03 10:23:01 -0700
commitf639882be8883d9dee6ed291852b721e10103a0d (patch)
tree781a60553cb1a3a0845728c820406388d46fb960 /clang/lib/Frontend/InitPreprocessor.cpp
parentab270e4c7c747c2c9840fa85f151ec3adfb96638 (diff)
downloadllvm-f639882be8883d9dee6ed291852b721e10103a0d.zip
llvm-f639882be8883d9dee6ed291852b721e10103a0d.tar.gz
llvm-f639882be8883d9dee6ed291852b721e10103a0d.tar.bz2
[sanitizer] Allow getsockname with NULL addrlen
This is already permitted in getpeername, and returns EFAULT on Linux (does not crash the program). Fixes https://github.com/google/sanitizers/issues/1451. Differential Revision: https://reviews.llvm.org/D113055
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions