[Privoxy-commits] [privoxy] 03/06: process_encrypted_request_headers(): Free header memory when failing
User Git
git at git.privoxy.org
Tue Dec 7 14:07:14 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 0509c58045b26463844188e07c5e87c74ea21044
Author: Joshua Rogers <jrogers at opera.com>
AuthorDate: Fri Nov 19 18:31:59 2021 +0100
process_encrypted_request_headers(): Free header memory when failing
... to get the request destination.
OVE-20211201-0002. CVE-2021-44541.
---
jcc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jcc.c b/jcc.c
index 2d6ba77d..2beca7b6 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2806,6 +2806,8 @@ static jb_err process_encrypted_request_headers(struct client_state *csp)
"Failed to get the encrypted request destination");
ssl_send_data_delayed(&(csp->ssl_client_attr),
(const unsigned char *)CHEADER, strlen(CHEADER), get_write_delay(csp));
+ destroy_list(headers);
+
return JB_ERR_PARSE;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list