Date: Mon, 2 Oct 1995 17:01:57 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: terry@lambert.org (Terry Lambert) Cc: current@freebsd.org Subject: Re: Another NFS server problem Message-ID: <199510030001.RAA22838@phaeton.artisoft.com> In-Reply-To: <199510022351.QAA22795@phaeton.artisoft.com> from "Terry Lambert" at Oct 2, 95 04:51:58 pm
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. The same failure mode exists for nfsrv_link(). > I'm very glad I'm making these side effect semantics more explicit. Now I'm very, very glad. 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?199510030001.RAA22838>