On Sun, 26 Nov 2000, Thomas Moestl wrote:

> Actually, the panic will occur after a simple forced unmount of the current
> working directory and subsequent try to access "..". This is because the
> vnode of the cwd was cleared and it's v_mount member was set to NULL. This
> member is however dereferenced in the handling for the ".." special case in
> lookup(), causing a panic.
> The fix is rather trivial, just check the member before using it and return
> an appropriate error. In the following patch, I use EBADF. 
> Btw, after taking a look into the OpenBSD and NetBSD repos, I think they
> might have the same problem. Is there any standard channel to pass bug
> reports to them from FreeBSD, or should I just use the normal submit 
> procedure?

        Good work Thomas! I think patch can be committed as is.

--
Boris Popov
http://www.butya.kz/~bp/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to