]> granicus.if.org Git - php/commitdiff
- fix segfault in proc_open
authorJan Lehnardt <jan@php.net>
Thu, 24 Oct 2002 08:46:21 +0000 (08:46 +0000)
committerJan Lehnardt <jan@php.net>
Thu, 24 Oct 2002 08:46:21 +0000 (08:46 +0000)
#no bugreports found

ext/standard/exec.c

index 441ae1f6655af74ac6ace179d93203e0542b2727..b962ea90c3cd25defef67fb5c892ab0d6b719e56 100644 (file)
@@ -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;
                        }