CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2022/08/15 03:40:14

Modified files:
        usr.sbin/httpd : server_file.c 

Log message:
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@

Reply via email to