From cf4d435a12c821bcdf34b55ff156831c608219fc Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Thu, 24 Oct 2002 08:46:21 +0000 Subject: [PATCH] - fix segfault in proc_open #no bugreports found --- ext/standard/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 441ae1f665..b962ea90c3 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -761,7 +761,7 @@ PHP_FUNCTION(proc_open) if (zend_hash_index_find(Z_ARRVAL_PP(descitem), 0, (void **)&ztype) == SUCCESS) { convert_to_string_ex(ztype); } else { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing handle qualifier in array", Z_STRVAL_PP(ztype)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing handle qualifier in array"); goto exit_fail; } -- 2.50.1