[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-dev
Subject: Re: [Bug] apr_dir_make_recursive() on relative path when the cwd has been deleted recurses infinitel
From: "Max Bowsher" <maxb () ukf ! net>
Date: 2005-09-25 10:26:17
Message-ID: 246c01c5c1bb$905ebc60$5304a8c0 () chimaera
[Download RAW message or body]
Joe Orton wrote:
> On Sat, Sep 24, 2005 at 05:38:24PM +0100, Max Bowsher wrote:
>> If the current working directory has been deleted (i.e. by another
>> process), then apr_dir_make_recursive() recurses infinitely.
>>
>> In this case, path_remove_last_component() (called in response to ENOENT)
>> will eventually reduce the path to an empty string, after which, repeated
>> calls to apr_dir_make ("") take place until a resource limit is reached.
>
> Thanks for the report; this has been fixed on all branches.
>
> http://svn.apache.org/viewcvs?rev=291339&view=rev
Thanks for the incredibly fast fix!
Max.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic