From: Arnaud Le Blanc Date: Fri, 12 Sep 2008 19:49:04 +0000 (+0000) Subject: initialize optional args X-Git-Tag: BEFORE_HEAD_NS_CHANGE~413 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a254a0a5e96897a8e7c9a9e37377dc753486147;p=php initialize optional args --- diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 92452437f0..6bc6241aa9 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -602,7 +602,7 @@ PHP_FUNCTION(pcntl_wstopsig) Executes specified program in current process space as defined by exec(2) */ PHP_FUNCTION(pcntl_exec) { - zval *args, *envs; + zval *args = NULL, *envs = NULL; zval **element; HashTable *args_hash, *envs_hash; int argc = 0, argi = 0;