Salut Sebastien,
Sébastien Marie wrote on Fri, Jul 18, 2014 at 08:50:17AM +0200:
> Starting to play with man.cgi (src/usr.bin/mandoc/cgi.c),
Thank you for testing.
> it seems that man.cgi will segfault if configuration file
> is absent or empty.
>
> Here a patch that display error message and
Hi,
Starting to play with man.cgi (src/usr.bin/mandoc/cgi.c), it seems that
man.cgi will segfault if configuration file is absent or empty.
Here a patch that display error message and 505, like when MAN_DIR is
invalid.
Note: the segfault occurs in cgi.c:224 (http_parse), that assume
req->p is no