On Sat, 31 Mar 2007, Robert Watson wrote:

rwatson     2007-03-31 16:08:50 UTC

 FreeBSD src repository

 Modified files:
   sys/kern             vfs_lookup.c
 Log:
 Rather than ignoring any error return from getnewvnode() in nameiinit(),
 explicitly test and panic.  This should not ever happen, but if it does,
 this is a preferred failure mode to a NULL pointer dereference in kernel.

No, a null pointer dereference is far preferable since it takes less code
and is easier to debug.

Bruce
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to