- Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified and
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing: 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.
This commit is contained in:
parent
8dfddd279b
commit
830018aa38
9
CHANGES
9
CHANGES
@ -10,6 +10,15 @@ Daniel Fandrich (8 Oct 2008)
|
||||
- Added tests 1082 through 1085 to test symbolic --interface parameters
|
||||
|
||||
Daniel Stenberg (8 Oct 2008)
|
||||
- Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified and
|
||||
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing:
|
||||
|
||||
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.
|
||||
|
||||
- Igor filed bug #2111613 (http://curl.haxx.se/bug/view.cgi?id=2111613) that
|
||||
eventually identified a flaw in how the multi_socket interface in some cases
|
||||
missed to call the timeout callback when easy interfaces are removed and
|
||||
|
@ -35,6 +35,7 @@ This release includes the following bugfixes:
|
||||
o FTP SIZE response 550 now causes CURLE_REMOTE_FILE_NOT_FOUND
|
||||
o CURLINFO_PRIMARY_IP fixed for persistent connection re-use cases
|
||||
o remove_handle/add_handle multi interface timer callback flaw
|
||||
o CURLINFO_REDIRECT_URL memory leak and wrong-doing
|
||||
|
||||
This release includes the following known bugs:
|
||||
|
||||
|
10
TODO-RELEASE
10
TODO-RELEASE
@ -13,12 +13,8 @@ Awaiting feedback, updates or removal:
|
||||
|
||||
178 - "[Patch] Disable multi API support"
|
||||
|
||||
182 - Make CURLINFO_LASTSOCKET accessible during perform
|
||||
|
||||
Patches pending commit:
|
||||
|
||||
180 - CURLINFO_REDIRECT_URL leaks memory and is incorrect, bug #2152270
|
||||
|
||||
181 - "multi object is stuck" bug #2111613
|
||||
needs to be done slightly nicer
|
||||
|
||||
182 -
|
||||
|
||||
183 -
|
||||
|
@ -1893,6 +1893,8 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
|
||||
data->state.authproblem = FALSE;
|
||||
data->state.authhost.want = data->set.httpauth;
|
||||
data->state.authproxy.want = data->set.proxyauth;
|
||||
Curl_safefree(data->info.wouldredirect);
|
||||
data->info.wouldredirect = NULL;
|
||||
|
||||
/* If there is a list of cookie files to read, do it now! */
|
||||
if(data->change.cookielist) {
|
||||
|
@ -3,5 +3,4 @@
|
||||
# test cases are run by runtests.pl. Just add the plain test case numbers, one
|
||||
# per line.
|
||||
# Lines starting with '#' letters are treated as comments.
|
||||
1080
|
||||
1081
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user