Date: Mon, 18 Sep 1995 14:13:02 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: bde@zeta.org.au (Bruce Evans) Cc: hackers@freefall.freebsd.org, julian@freefall.freebsd.org Subject: Re: why is this not a bug in namei? Message-ID: <199509182113.OAA08660@phaeton.artisoft.com> In-Reply-To: <199509181114.VAA20899@godzilla.zeta.org.au> from "Bruce Evans" at Sep 18, 95 09:14:26 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> >if HASBUF was set, we have freed something we didn't allocate.. > >(whenever we get an error, by the looks of it..) > > It seems that error handlers are required to free the buffer no matter > where it was allocated and everything is supposed to ignore HASBUF > (perhaps everything in *cnp?) after an error. Except if SAVESTART is > set, then only the caller must free. Promise to do the NFS server code (nfs_namei()), and I'll send you the patches to fix all other instances. 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?199509182113.OAA08660>