From ba544dc746a4a265624f23d2c75c2e7d4c0dfd3f Mon Sep 17 00:00:00 2001 From: Mitch Capper Date: Thu, 23 Mar 2017 09:40:30 -0700 Subject: [PATCH] FS-10071 mod_perl safety fix for clone call Adding NULL at the end of our fake ARGV string for completeness --- src/mod/languages/mod_perl/mod_perl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/languages/mod_perl/mod_perl.c b/src/mod/languages/mod_perl/mod_perl.c index bc15f58dc3..24efaefb98 100644 --- a/src/mod/languages/mod_perl/mod_perl.c +++ b/src/mod/languages/mod_perl/mod_perl.c @@ -45,7 +45,7 @@ #include #include #include -static char *embedding[] = { "", "-e", "0" }; +static char *embedding[] = { "", "-e", "0", NULL }; EXTERN_C void xs_init(pTHX); SWITCH_MODULE_LOAD_FUNCTION(mod_perl_load);