Mercurial > hg > nginx-quic
diff src/http/ngx_http_header_filter_module.c @ 5800:0570e42ffeed
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>
author | Piotr Sikora <piotr@cloudflare.com> |
---|---|
date | Thu, 19 Jun 2014 04:16:36 -0700 |
parents | e8d24b6d7f73 |
children | cf3e75cfa951 |