summaryrefslogtreecommitdiff
path: root/ext/standard/proc_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/proc_open.c')
-rw-r--r--ext/standard/proc_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index aa97fe0a99..7e399c98e5 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -432,7 +432,7 @@ PHP_FUNCTION(proc_open)
{
zval **ppcommand, **ppcwd = NULL;
char *command, *cwd=NULL;
- int command_len, cwd_len;
+ int command_len, cwd_len = 0;
zval *descriptorspec;
zval *pipes;
zval *environment = NULL;