summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/encode.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2020-03-04 08:04:48 +0000
committeranton <anton@openbsd.org>2020-03-04 08:04:48 +0000
commitc5a231fb6c1e5421afe54ad312ffee63b7c89781 (patch)
tree910ee2def7c0f4a181155e57db2ba28a8881a4f6 /lib/libcrypto/evp/encode.c
parentTeach wsconsctl about rkdrm(4). (diff)
downloadwireguard-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 'lib/libcrypto/evp/encode.c')
0 files changed, 0 insertions, 0 deletions