* [PATCH] httpd: fix leak in backtrace_symbols(3) usage
@ 2022-12-10 10:35 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2022-12-10 10:35 UTC (permalink / raw)
To: mwrap-perl
Again...
---
mwrap_httpd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/mwrap_httpd.h b/mwrap_httpd.h
index ef215c8..aaa9681 100644
--- a/mwrap_httpd.h
+++ b/mwrap_httpd.h
@@ -426,6 +426,7 @@ static char *loc2name(const struct src_loc *l, size_t *len)
fputc('\n', fp);
fputs(s[i], fp);
}
+ free(s);
}
if (ferror(fp) | fclose(fp)) {
fprintf(stderr, "ferror|fclose: %m\n");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-10 10:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10 10:35 [PATCH] httpd: fix leak in backtrace_symbols(3) usage Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/mwrap-perl.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).