diff options
author | Omar Polo <op@cvs.openbsd.org> | 2022-08-15 09:40:15 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2022-08-15 09:40:15 +0000 |
commit | a2e1901af1d98af23841b3b6f18b7e53ea8e1ec8 (patch) | |
tree | 72c0b377e13deb382cfdf10d7e0bb92183512736 /distrib/sets | |
parent | 90f8a313289eae11c545f3e6a0f5ea1ea14ea74b (diff) |
plug some memory leaks in server_file_index when failures occur
namelist and its entries are not freed if escape_html fails or if we
fail in the inner loop. Move scandir later so it's closer to the for
loop and handle escape_html and url_encode failures.
With lots of help from tb, thanks!
ok tb@
Diffstat (limited to 'distrib/sets')
0 files changed, 0 insertions, 0 deletions