OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Artur Grabowski (artcvs.openbsd.org)
Date: Wed Jul 23 2008 - 06:53:07 CDT


CVSROOT: /cvs
Module name: src
Changes by: artcvs.openbsd.org 2008/07/23 05:53:07

Modified files:
        sys/nfs : nfs_vnops.c

Log message:
- in nfs_mknodrpc - initialize the node we pass to nfs_lookitup. It's
not just a return value, nfs_lookitup treats it specially when *npp
is not NULL.
- nfs_lookitup - When we match the file handle to the directory
filehandle (lookup on '.'), initialize np so that we don't return
stack garbage to the caller. The function shouldn't ever be
called with '.' at this moment, but that's no reason to not do the
right thing in case future callers use it that way.

blambert thib ok