diff options
author | Chris Apple <cja-private@pm.me> | 2024-09-23 07:55:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 06:55:14 -0700 |
commit | a4232dc676908548afa36d4f4ad740131ce385e2 (patch) | |
tree | 0fa7e981c0fa3416325d632321b1c1f26a68b0c4 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | d6a6e25c5158be8a1b820aedf067fce394f7a313 (diff) | |
download | llvm-a4232dc676908548afa36d4f4ad740131ce385e2.zip llvm-a4232dc676908548afa36d4f4ad740131ce385e2.tar.gz llvm-a4232dc676908548afa36d4f4ad740131ce385e2.tar.bz2 |
[rtsan][tsan] Fix va_args handling in open functions (#108291)
Check oflag to see if it contains O_CREAT / O_TMPFILE before unpacking parameters to avoid UB
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions