cvs commit: src/sys/kern vfs_lookup.c
    Robert Watson 
    rwatson at FreeBSD.org
       
    Sat Mar 31 16:08:51 UTC 2007
    
    
  
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
    
    
More information about the cvs-all
mailing list