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-1856628 ] Memory leak in Curl_ssl_addsessionid()

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sat, 22 Dec 2007 17:04:23 -0800

Bugs item #1856628, was opened at 2007-12-22 17:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1856628&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: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gary Maxwell (gmaxwell_447)
Assigned to: Daniel Stenberg (bagder)
Summary: Memory leak in Curl_ssl_addsessionid()

Initial Comment:
Found in 7.17.0, confirmed to still exist in the 22-Dec-2007 snapshot (7.17.2).

On line 387 of sslgen.c, in the Curl_ssl_addsessionid() function, "store->name" is assigned a new value without freeing the value already assigned, causing a minor memory leak.

We found this while performing continuous HTTPS testing, and noticed a small but ever-increasing memory leak, tracking it down to this part of the code where the fragment becomes lost.

Patch submitted.

Cheers!
Gary Maxwell
Casabi, Inc.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1856628&group_id=976
Received on 2007-12-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET