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
parent 856c87b4cb
commit ba544dc746

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);