Subject: Re: PR/36225 CVS commit: src/sys/kern
To: None <gnats-bugs@NetBSD.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: netbsd-bugs
Date: 04/27/2007 16:07:13
On Thu, Apr 26, 2007 at 09:00:05PM +0000, David Laight wrote:
> The following reply was made to PR kern/36225; it has been noted by GNATS.
>
> From: David Laight <dsl@netbsd.org>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: PR/36225 CVS commit: src/sys/kern
> Date: Thu, 26 Apr 2007 20:58:37 +0000 (UTC)
>
> Module Name: src
> Committed By: dsl
> Date: Thu Apr 26 20:58:37 UTC 2007
>
> Modified Files:
> src/sys/kern: vfs_lookup.c
>
> Log Message:
> Be a little less over-zelous about converting ".." at the emulation root
> to the real root. Rather that do the check inside lookup() - where it
> applies to to every ".." in a pathname, explicitly check the start of
> the caller-supplied buffers and any absolute symbolic links.
> Note that in the latter case the re-search from the real root is supressed.
> Should fix PR kern/36225
Thanks for your prompt reply and fix. This problem is gone.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.