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:
parent
8b1d287f10
commit
1a1af6cf26
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue