FS-10071 mod_perl safety fix for clone call

Adding NULL at the end of our fake ARGV string for completeness
This commit is contained in:
Mitch Capper 2017-03-23 09:40:30 -07:00 committed by Mike Jerris
parent 8b1d287f10
commit 1a1af6cf26
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
#include <EXTERN.h>
#include <perl.h>
#include <switch.h>
static char *embedding[] = { "", "-e", "0" };
static char *embedding[] = { "", "-e", "0", NULL };
EXTERN_C void xs_init(pTHX);
SWITCH_MODULE_LOAD_FUNCTION(mod_perl_load);