Commit Briefs

Omar Polo

tag 1.7.4 (tags/1.7.4)


Omar Polo

fix possible out-of-bound access

While computing the parent directory it an out-of-bound access can occur, which usually means the server process dies. In particular, it can be triggered by making a request for a non-existent file in the root of a virtual host if the path matches the `cgi` pattern. Thanks cage for helping in debugging!


Omar Polo

tag 1.7.3 (tags/1.7.3)

bump version number



Omar Polo

fix changelog syntax


Omar Polo

sort tests


Omar Polo

sync changelog


Omar Polo

fix syslog logging on FreeBSD

Due to capsicum(4), opening the log on-demand via syslog(3) fails. openlog(LOG_NDELAY) forces the log to be opened immediately, before we enter capsicum. This doesn't affect OpenBSD (where pledge(2) doesn't stop syslog) nor linux (where the log process is not sandboxed.) Reported by Karl Jeacle, thank you!


Omar Polo

sync


Omar Polo

don't crash if -n is given without -c

If -n is given without -c, config_path is still NULL and it would crash due to a NULL deference.


Omar Polo

don't yyerror if we can't open the file

the global var file could still be NULL and yyerror would crash.



Omar Polo

sync