bz 2007-11-16 22:35:33 UTC
FreeBSD src repository
Modified files:
sys/netipsec keysock.c
Log:
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
Revision Changes Path
1.20 +6 -6 src/sys/netipsec/keysock.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"