Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 19:15:54 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@FreeBSD.org, <billf@FreeBSD.org>
Subject:   Re: vsnprintf(3) memory leak patch, misc/26044 and bin/36175
Message-ID:  <20020912190737.I93585-100000@news1.macomnet.ru>
In-Reply-To: <20020912144655.GB15781@xor.obsecurity.org>
References:  <20020912115723.X95514-100000@news1.macomnet.ru> <20020912144655.GB15781@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18:46+0400, Sep 12, 2002, Kris Kennaway wrote:

> On Thu, Sep 12, 2002 at 12:02:45PM +0400, Maxim Konovalov wrote:
>
> > +	/* Stdio internals do not deal correctly with zero length buffer */
>
> I thought ache fixed a lot of these; are you sure the situation still
> applies to -current?

Yes, it still leaks. Testcase from misc/26044:

main() {for(;;) vsnprintf(0, 0, "yadda yadda!\n");};

-- 
Maxim Konovalov, MAcomnet, Internet Dept., system engineer
phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912190737.I93585-100000>