diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-19 21:28:02 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-19 21:28:02 +0300 |
commit | b9e0b9df446afa8a84d839bcf90b43d6504fc413 (patch) | |
tree | b845a4f27ee2d30736e979d6228aac0703feec8e /src/http/ngx_http_variables.c | |
parent | a6befbb40f801a68f451c349bc02bc27762e68b7 (diff) | |
download | nginx-b9e0b9df446afa8a84d839bcf90b43d6504fc413.tar.gz nginx-b9e0b9df446afa8a84d839bcf90b43d6504fc413.zip |
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.
Diffstat (limited to 'src/http/ngx_http_variables.c')
0 files changed, 0 insertions, 0 deletions