mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Avoid leaking headers received from SSL proxy
Fixes part of 7816. Spotted by coverity. Fix on 0.2.2.1-alpha.
This commit is contained in:
parent
4b571d3ab3
commit
b509ead20d
@ -1,3 +1,7 @@
|
|||||||
o Minor bugfixes (memory leak, controller):
|
o Minor bugfixes (memory leak, controller):
|
||||||
- Fix a memory leak during safe-cookie controller authentication.
|
- Fix a memory leak during safe-cookie controller authentication.
|
||||||
Spotted by Coverity. Fixes part of bug 7816; bugfix on 0.2.3.13-alpha.
|
Spotted by Coverity. Fixes part of bug 7816; bugfix on 0.2.3.13-alpha.
|
||||||
|
|
||||||
|
o Minor bugfixes (memory leak, HTTPS proxy support):
|
||||||
|
- Fix a memory leak when receiving headers from an HTTPS proxy.
|
||||||
|
Spotted by Coverity. Fixes part of bug 7816; bugfix on 0.2.1.1-alpha.
|
||||||
|
@ -1607,6 +1607,7 @@ connection_read_https_proxy_response(connection_t *conn)
|
|||||||
tor_free(headers);
|
tor_free(headers);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
tor_free(headers);
|
||||||
if (!reason) reason = tor_strdup("[no reason given]");
|
if (!reason) reason = tor_strdup("[no reason given]");
|
||||||
|
|
||||||
if (status_code == 200) {
|
if (status_code == 200) {
|
||||||
|
Loading…
Reference in New Issue
Block a user