From: Fabian Keil Date: Mon, 2 Mar 2020 17:14:29 +0000 (+0100) Subject: decompress_iob(): Free the temporary buffer when the buffer limit is reached X-Git-Tag: v_3_0_29~447 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=4490d451f9b61baada414233897a83ec8d9908aa;ds=inline decompress_iob(): Free the temporary buffer when the buffer limit is reached ... instead of leaking it. Sponsored by: Robert Klemme --- diff --git a/parsers.c b/parsers.c index 1b897bcb..b65474ce 100644 --- a/parsers.c +++ b/parsers.c @@ -633,6 +633,7 @@ jb_err decompress_iob(struct client_state *csp) if (bufsize >= csp->config->buffer_limit) { log_error(LOG_LEVEL_ERROR, "Buffer limit reached while decompressing iob"); + freez(buf); return JB_ERR_MEMORY; }