cvs commit: src/sys/nfsserver nfs_serv.c

John Baldwin jhb at freebsd.org
Mon Mar 26 15:23:54 UTC 2007


On Monday 26 March 2007 11:15:08 am John Baldwin wrote:
> jhb         2007-03-26 15:14:58 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/nfsserver        nfs_serv.c 
>   Log:
>   Initialize vfslocked to 0 before nfsm_srvmtofh() so that the variable is
>   not used uninitialized in 'nfsmout' if nfsm_srvmtofh() gets an internal
>   error.
>   
>   CID:            1766
>   Found by:       Coverity Prevent (tm)
>   
>   Revision  Changes    Path
>   1.172     +1 -0      src/sys/nfsserver/nfs_serv.c

Yet another example of why NFS macros are evil.

-- 
John Baldwin


More information about the cvs-src mailing list