apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Bowsher" <m...@ukf.net>
Subject Re: [Bug] apr_dir_make_recursive() on relative path when the cwd has been deleted recurses infinitely => segfault
Date Sun, 25 Sep 2005 10:26:17 GMT
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.


Mime
View raw message