diff options
author | bz <bz@FreeBSD.org> | 2007-11-16 22:35:33 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2007-11-16 22:35:33 +0000 |
commit | a7318bd80c628e3e15223ad6cc6a860db8f35dd9 (patch) | |
tree | 49cf497e28d0328a9bd0347bfac2dc8a1540116a /README | |
parent | 1ad1c0a4f118ac74d91fcd60b17e2526166995e6 (diff) | |
download | FreeBSD-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 'README')
0 files changed, 0 insertions, 0 deletions