summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_resolver.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-07-18 20:02:11 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-07-18 20:02:11 +0400
commit069b7d9fb20f8545eeebd2a85a4fd93a6e8d0c75 (patch)
treee92c6fc0dc3d904789952e6bada937158eabad5d /src/core/ngx_resolver.c
parent274ff8196ffbac52959907042b3d3cedb151a1a7 (diff)
downloadnginx-069b7d9fb20f8545eeebd2a85a4fd93a6e8d0c75.tar.gz
nginx-069b7d9fb20f8545eeebd2a85a4fd93a6e8d0c75.tar.bz2
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.
Diffstat (limited to 'src/core/ngx_resolver.c')
0 files changed, 0 insertions, 0 deletions