Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 1995 11:11:42 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        current@freebsd.org, terry@lambert.org
Subject:   Re: Another NFS server problem
Message-ID:  <199510031811.LAA01544@phaeton.artisoft.com>
In-Reply-To: <199510031549.BAA22650@godzilla.zeta.org.au> from "Bruce Evans" at Oct 4, 95 01:49:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >Apparently, nfssrv_mkdir doesn't realize that a nfs_namei with nameiop
> >of CREATE causes the underlying file system to imply a SAVENAME flag
> >when the terminal compoenent is reached.  Therefore a failed mkdir
> >will result in a MALLOC of cn_pnbuf in nfs_namei() that is never freed.
> 
> >The failure mode is triggered for a mkdir of an existing dir by a client,
> >leaving the path name buffer allocated on the server.
> 
> nfssrv_mkdir doesn't seem to be reached in that case.

Try it from a PC.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510031811.LAA01544>