[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20041126084918.GA9892@excession.spiral-arm.org>
Date: Fri, 26 Nov 2004 08:49:18 +0000
From: James Youngman <bugtraq@...ession.spiral-arm.org>
To: Tim Nelson <security@...alive.biz>
Cc: Steve Revilak <srevilak@...akeasy.net>, parimiv@...haw.com,
martin.buchholz@....com, levon@...ementarian.org,
bugtraq@...urityfocus.com, bug-findutils@....org
Subject: Re: Changes to the filesystem while find is running - comments?
On Fri, Nov 26, 2004 at 03:23:48PM +1100, Tim Nelson wrote:
> >What we need to do - and what we do do - is this -
> >
> >$tmp = <base name of subdirectory>;
>
> According to the description by Steve Revilak which was sent
> through, if you at this point do:
>
> $tmp = $tmp + '.';
>
> ...then that will fix the problem. So instead of statting eg.
> "/usr/local/bin", you'll be statting "/usr/local/bin/." (note the dot in
> the second one).
It's an interesting idea. However, the code we have now in
findutils-4.2.8 works, and I'm reluctant to change this again unless
we find there's a problem.
Regards,
James.
Powered by blists - more mailing lists