cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: vsnprintf called twice

From: Daniel Stenberg <daniel-curl_at_haxx.se>
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.html
Received on 2005-01-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET