]> git.kaiwu.me - nginx.git/commit
Fixed segfault with try_files (ticket #152).
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 19 Apr 2012 15:48:03 +0000 (15:48 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 19 Apr 2012 15:48:03 +0000 (15:48 +0000)
commite8fe3ce0981aec98fc74382515765b373f072e07
tree36d06da9adeba2391855c96972b3f5a8f1de26d8
parenta73ce28e0a6d855daaf2cd2a40bbf65762e58f2a
Fixed segfault with try_files (ticket #152).

The problem occured if first uri in try_files was shorter than request uri,
resulting in reserve being 0 and hence allocation skipped.  The bug was
introduced in r4584 (1.1.19).
src/http/ngx_http_core_module.c