Mercurial > hg > nginx-quic
comparison src/http/ngx_http_spdy_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 | 02ee639d18a8 |
children |
comparison
equal
deleted
inserted
replaced
5799:b1f8285297a7 | 5800:0570e42ffeed |
---|