projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245e1cf
)
decompress_iob(): Free the temporary buffer when the buffer limit is reached
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 2 Mar 2020 17:14:29 +0000
(18:14 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 2 Mar 2020 17:44:58 +0000
(18:44 +0100)
... instead of leaking it.
Sponsored by: Robert Klemme
parsers.c
patch
|
blob
|
history
diff --git
a/parsers.c
b/parsers.c
index
1b897bc
..
b65474c
100644
(file)
--- 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;
}