summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorPiotr Sikora <piotr@cloudflare.com>2014-06-19 04:16:36 -0700
committerPiotr Sikora <piotr@cloudflare.com>2014-06-19 04:16:36 -0700
commitb3066b16e1d6f7e9c27cc092b67591262d3a8b13 (patch)
treec5097e0dfbf0bfc81a076b7228bd5654d6c94ffc /src/http/ngx_http_request.c
parent8f0f4c10e91a82e6f636d792c14cc608c06ca37d (diff)
downloadnginx-b3066b16e1d6f7e9c27cc092b67591262d3a8b13.tar.gz
nginx-b3066b16e1d6f7e9c27cc092b67591262d3a8b13.tar.bz2
Perl: NULL-terminate argument list.
perl_parse() function expects argv/argc-style argument list, which according to the C standard must be NULL-terminated, that is: argv[argc] == NULL. This change fixes a crash (SIGSEGV) that could happen because of the buffer overrun during perl module initialization. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions