summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_pmemrange.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2012-01-04 18:11:51 +0000
committerbeck <beck@openbsd.org>2012-01-04 18:11:51 +0000
commitb690d4c28970ef3a0c56f8dfeac28261a2bc8861 (patch)
treec7d1e0b3fecb3f3d496b4c9b58c5e6a4bc46ebcd /sys/uvm/uvm_pmemrange.c
parentAdd some sanity checks, set errno accordingly to POSIX and add the named (diff)
downloadwireguard-openbsd-b690d4c28970ef3a0c56f8dfeac28261a2bc8861.tar.xz
wireguard-openbsd-b690d4c28970ef3a0c56f8dfeac28261a2bc8861.zip
Fix use after free in cache_lookup() - found by Pedro
fix is to manipulate the name cache structures before potentially sleeping on a vn_lock(). This avoids the race of the ncp entry being recycled while we are asleep. run in snaps and on ftp.openbsd.org for months ok thib@
Diffstat (limited to 'sys/uvm/uvm_pmemrange.c')
0 files changed, 0 insertions, 0 deletions