]> git.kaiwu.me - nginx.git/commit
Fixed segfault in try_files with nested location.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 7 Jun 2017 15:46:35 +0000 (18:46 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 7 Jun 2017 15:46:35 +0000 (18:46 +0300)
commitb0de3d70130658436afba69d07d68712834deccb
treeb6329d63fc0f015698a9af6e0788e09dd548f75c
parentdec513d6e47aa883e2dbeaeb70c122e37b9abe70
Fixed segfault in try_files with nested location.

If memory allocation of a new r->uri.data storage failed, reset its length as
well.  Request URI is used in ngx_http_finalize_request() for debug logging.
src/http/ngx_http_core_module.c