cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [patch] src/homedir.c memory smasher

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Nov 2007 22:50:14 +0100 (CET)

On Wed, 31 Oct 2007, Toby Peterson wrote:

> Issue only occurs when user has no home directory, i.e. pw->pw_dir is ""
> (empty string).
>
> In this specific case, homedir() ends up returning pw->pw_dir directly, and
> it is freed in parseconfig().

Thanks, applied!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-01