]> git.kaiwu.me - nginx.git/commit
Reset of r->uri.len on URI parsing errors.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Jul 2014 16:02:11 +0000 (20:02 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Jul 2014 16:02:11 +0000 (20:02 +0400)
commit88d9289f82e0992727e81b36667936b7187b214f
tree2ed55fd3d6cd879f1c4cc67a6f587826a8158d7d
parent7e52432a0518ab5abe35478aacdac4ddda05c5e5
Reset of r->uri.len on URI parsing errors.

This ensures that debug logging and the $uri variable (if used in
400 Bad Request processing) will not try to access uninitialized
memory.

Found by Sergey Bobrov.
src/http/ngx_http_request.c