projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5abce
)
cgi_show_status: Don't leak memory when no filter files are specified
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 30 Aug 2020 07:24:48 +0000
(09:24 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000
(12:22 +0200)
Sponsored by: Robert Klemme
cgisimple.c
patch
|
blob
|
history
diff --git
a/cgisimple.c
b/cgisimple.c
index
0077e7c
..
a8fd826
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1380,6
+1380,7
@@
jb_err cgi_show_status(struct client_state *csp,
{
if (!err) err = map(exports, "re-filter-filenames", 1, "<tr><td>None specified</td></tr>", 1);
if (!err) err = map_block_killer(exports, "have-filterfile");
+ freez(s);
}
#ifdef FEATURE_TRUST