apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [Bug] apr_dir_make_recursive() on relative path when the cwd has been deleted recurses infinitely => segfault
Date Sat, 24 Sep 2005 22:29:56 GMT
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.



View raw message