comparison src/http/ngx_http_parse.c @ 5794:b8188afb3bbb stable-1.6

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 18 Jul 2014 20:02:11 +0400
parents bd91f286ee0a
children 3a48775f1535 b5094e26e4e5
comparison
equal deleted inserted replaced
5793:358186e79635 5794:b8188afb3bbb