diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2012-01-04 18:11:52 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2012-01-04 18:11:52 +0000 |
commit | 0fcc00c17440350cee1f4d494b8b312125e0f2e7 (patch) | |
tree | b6c5bfbe58e079a8e5247d079ee58a2cd42f221d /sys/netinet/tcp_subr.c | |
parent | ed330b1b2bc29ed5af74d2fff88eddcc0c2e7967 (diff) |
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/netinet/tcp_subr.c')
0 files changed, 0 insertions, 0 deletions