]> git.kaiwu.me - nginx.git/commit
Fixed handling of empty root.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 19 Oct 2015 18:28:02 +0000 (21:28 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 19 Oct 2015 18:28:02 +0000 (21:28 +0300)
commitb9e0b9df446afa8a84d839bcf90b43d6504fc413
treeb845a4f27ee2d30736e979d6228aac0703feec8e
parenta6befbb40f801a68f451c349bc02bc27762e68b7
Fixed handling of empty root.

Previously, a configuration with "root" set to an empty string tried test
a character at clcf->root.data[-1].  Additional test added to make sure
this won't happen.

Reported by Markus Linnala, see
http://mailman.nginx.org/pipermail/nginx-devel/2015-August/007210.html.
src/http/ngx_http_core_module.c