From ed2a7ea89af6c90de15876c6e9b378ef93c2fee0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 8 Jun 2009 16:48:50 +0000 Subject: [PATCH] Don't leak parts of the client headers if a timeout is triggered while reading the request. --- jcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2