[all-commits] [llvm/llvm-project] f63988: [sanitizer] Allow getsockname with NULL addrlen
Tamir Duberstein via All-commits
all-commits at lists.llvm.org
Wed Nov 3 10:23:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f639882be8883d9dee6ed291852b721e10103a0d
https://github.com/llvm/llvm-project/commit/f639882be8883d9dee6ed291852b721e10103a0d
Author: Tamir Duberstein <tamird at google.com>
Date: 2021-11-03 (Wed, 03 Nov 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
A compiler-rt/test/sanitizer_common/TestCases/Linux/get_sock_peer_name.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list