curl-users
Re: vsnprintf called twice
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 4 Jan 2005 09:54:24 +0100 (CET)
Date: Tue, 4 Jan 2005 09:54:24 +0100 (CET)
On Mon, 3 Jan 2005, Patrick Smith wrote:
> In 7.12.3, the function Curl_failf in lib/sendf.c can call vsnprintf twice
> in succession on the same variable data, with no reset between the calls.
Yes. None of the autobuilds failed on it, so it went unnoticed to release but
has since been fixed in CVS.
> On my machine (Linux running on a PowerMac), this causes a segmentation
> fault in the second call to vsnprintf.
You may take this as a hint that we could use such a platform in the autobuild
tests to prevent future mistakes such as this...
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-04