]> 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)
commit069b7d9fb20f8545eeebd2a85a4fd93a6e8d0c75
treee92c6fc0dc3d904789952e6bada937158eabad5d
parent274ff8196ffbac52959907042b3d3cedb151a1a7
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