aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2025-03-11 10:23:03 -0700
committerGitHub <noreply@github.com>2025-03-11 10:23:03 -0700
commit65016475084f6435dbf252997d53853c2bfdf9be (patch)
treeabad2b1f1ffc57a57cc621e272f0269397fdb0c9 /llvm/lib/Support/LockFileManager.cpp
parentf10a8706a1443dec834929dadcce837082df64b7 (diff)
downloadllvm-65016475084f6435dbf252997d53853c2bfdf9be.zip
llvm-65016475084f6435dbf252997d53853c2bfdf9be.tar.gz
llvm-65016475084f6435dbf252997d53853c2bfdf9be.tar.bz2
[StaticAnalyzer] Relax the pre-condition of 'setsockopt' (#130683)
For the unix function `int setsockopt(int, int, int, const void *, socklen_t);`, the last two parameters represent a buffer and a size. In case the size is zero, buffer can be null. Previously, the hard-coded pre-condition requires the buffer to never be null, which can cause false positives. (rdar://146678142)
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions