summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2006-12-06 17:49:58 +0000
committerthib <thib@openbsd.org>2006-12-06 17:49:58 +0000
commit765fc5fd44fcf0bc7393e9b0536439c0ee431250 (patch)
treebe74d1a45511ad9dd2ebf954103d7265c9e5cfca /sys/dev
parentmalloc(..., M_NOWAIT) with no NULL check is bad. If allocation fails, (diff)
downloadwireguard-openbsd-765fc5fd44fcf0bc7393e9b0536439c0ee431250.tar.xz
wireguard-openbsd-765fc5fd44fcf0bc7393e9b0536439c0ee431250.zip
nfs_readdirplusrpc():
Replace the pointer aerobics used to construct the namecache hash with a more saner approach since the former could lead to a null deref (PR5305). Also make sure that the current buf is bigenough before caching the current entry. comments&ok pedro@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions