cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 31 Oct 2007 18:07:45 -0700

On Wed, Oct 31, 2007 at 04:51:13PM -0700, 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().

Looks good to me.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-11-01