Date: Sat, 31 Mar 2007 16:08:50 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_lookup.c Message-ID: <200703311608.l2VG8oNE086672@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Coverity CID: 1716
Found with: Coverity Prevent(tm)
Revision Changes Path
1.99 +5 -1 src/sys/kern/vfs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703311608.l2VG8oNE086672>
