summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2007-11-16 22:35:33 +0000
committerbz <bz@FreeBSD.org>2007-11-16 22:35:33 +0000
commita7318bd80c628e3e15223ad6cc6a860db8f35dd9 (patch)
tree49cf497e28d0328a9bd0347bfac2dc8a1540116a /sys/fs
parent1ad1c0a4f118ac74d91fcd60b17e2526166995e6 (diff)
downloadFreeBSD-src-a7318bd80c628e3e15223ad6cc6a860db8f35dd9.zip
FreeBSD-src-a7318bd80c628e3e15223ad6cc6a860db8f35dd9.tar.gz
Move the priv check before the malloc call for so_pcb.
In case attach fails because of the priv check we leaked the memory and left so_pcb as fodder for invariants. Reported by: Pawel Worach Reviewed by: rwatson
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud