Merge pull request #1240 in FS/freeswitch from ~MITCH.CAPPER/freeswitch:bugfix/FS-10071-mod_perl-crashes-on-ubuntu-but-not to master

* commit 'ba544dc746a4a265624f23d2c75c2e7d4c0dfd3f':
  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:
Mike Jerris 2017-05-02 19:07:05 +00:00
commit 7a8495a43b
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);