提交 7a8495a4 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1240 in FS/freeswitch from…

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

* commit 'ba544dc7':
  FS-10071 mod_perl safety fix for clone call Adding NULL at the end of our fake ARGV string for completeness
...@@ -45,7 +45,7 @@ ...@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论