diff options
| author | 2020-03-04 08:04:48 +0000 | |
|---|---|---|
| committer | 2020-03-04 08:04:48 +0000 | |
| commit | c5a231fb6c1e5421afe54ad312ffee63b7c89781 (patch) | |
| tree | 910ee2def7c0f4a181155e57db2ba28a8881a4f6 /gnu/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp | |
| parent | Teach wsconsctl about rkdrm(4). (diff) | |
| download | wireguard-openbsd-c5a231fb6c1e5421afe54ad312ffee63b7c89781.tar.xz wireguard-openbsd-c5a231fb6c1e5421afe54ad312ffee63b7c89781.zip | |
Grab a reference for the shared memory segment before calling uvm_map()
as the same function could end up putting the thread to sleep. Allowing
another thread to free the shared memory segment, which in turns causes
a use-after-free.
With help from and ok millert@ visa@
Reported-by: syzbot+0fc1766671a9461de8a5@syzkaller.appspotmail.com
Diffstat (limited to 'gnu/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
