cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2152270 ] CURLINFO_REDIRECT_URL leaks memory and is incorrect

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 07 Oct 2008 22:44:45 +0000

Bugs item #2152270, was opened at 2008-10-08 00:01
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2152270&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: crash
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: vmpdemo (vmpdemo)
Assigned to: Daniel Stenberg (bagder)
Summary: CURLINFO_REDIRECT_URL leaks memory and is incorrect

Initial Comment:
CURLINFO_REDIRECT_URL leaks memory and is incorrect after the first transfer.

The first transfer is seemingly correct.

Any subsequent transfer with a redirect leaks memory, eventually crashing the process potentially.

Any subsequent transfer WITHOUT a redirect causes the most recent redirect that DID occur on some previous transfer to still be reported.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2008-10-08 00:44

Message:
do you happen to have a recipe on how to make the bug appear?

I'd like to add a test case for this scenario together with your fix!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2152270&group_id=976
Received on 2008-10-08

These mail archives are generated by hypermail.

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

File upload with ASP.NET