From: Fabian Keil Date: Mon, 8 Jun 2009 16:48:50 +0000 (+0000) Subject: Don't leak parts of the client headers if a timeout is triggered while reading the... X-Git-Tag: v_3_0_13~39 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=ed2a7ea89af6c90de15876c6e9b378ef93c2fee0;p=privoxy.git Don't leak parts of the client headers if a timeout is triggered while reading the request. --- diff --git a/jcc.c b/jcc.c index c5a8a4a8..42c42b4b 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.250 2009/05/16 13:27:20 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.251 2009/06/03 16:42:49 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1307,6 +1307,7 @@ static jb_err receive_client_request(struct client_state *csp) { log_error(LOG_LEVEL_ERROR, "Stopped grabbing the client headers."); + destroy_list(headers); return JB_ERR_PARSE; }