mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-11 09:57:16 +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:
parent
856c87b4cb
commit
ba544dc746
@ -45,7 +45,7 @@
|
|||||||
#include <EXTERN.h>
|
#include <EXTERN.h>
|
||||||
#include <perl.h>
|
#include <perl.h>
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
static char *embedding[] = { "", "-e", "0" };
|
static char *embedding[] = { "", "-e", "0", NULL };
|
||||||
EXTERN_C void xs_init(pTHX);
|
EXTERN_C void xs_init(pTHX);
|
||||||
|
|
||||||
SWITCH_MODULE_LOAD_FUNCTION(mod_perl_load);
|
SWITCH_MODULE_LOAD_FUNCTION(mod_perl_load);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user