On Sat, 21 May 2011, Robert Watson wrote:

In fact, the code I pointed at in my previous e-mail will probably panic in that case, since it improperly dereferences the inpcb's socket field without first testing for NULL.

Or, looking more closely, only because the locking is broken, as it does test inp_socket. However, it really shouldn't need to -- we try quite hard never to dereference inp_socket in the firewall code for this reason. Hence, among other things, propagating so_cred down as inp_cred.

Robert
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to