CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2009/08/30 09:16:19
Modified files: sys/nfs : nfs_serv.c Log message: if nfs_namei() fails, there's no ni_startdir and the pathname buffer has already been freed, thus make the callers of nfs_namei() bail out early, instead of jumping to nfsmout as there they will try to vrele() vnodes that don't exists (NULL pointers) and free the pathname buffer. this is way nicer then adding checks after the nfsmout label. OK blambert@