1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 09:32:34 +00:00

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

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