diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-07-18 20:02:11 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-07-18 20:02:11 +0400 |
commit | 88d9289f82e0992727e81b36667936b7187b214f (patch) | |
tree | 2ed55fd3d6cd879f1c4cc67a6f587826a8158d7d /src/core/ngx_log.c | |
parent | 7e52432a0518ab5abe35478aacdac4ddda05c5e5 (diff) | |
download | nginx-88d9289f82e0992727e81b36667936b7187b214f.tar.gz nginx-88d9289f82e0992727e81b36667936b7187b214f.zip |
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_log.c')
0 files changed, 0 insertions, 0 deletions