cvs: php4 /ext/standard exec.c
| From: | Jan Lehnardt | Date: | Thu, 24 Oct 2002 08:46:22 +0000 |
| Subject: | cvs: php4 /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15274@lists.php.net to get a copy of this message | ||
jan Thu Oct 24 04:46:22 2002 EDT
Modified files:
/php4/ext/standard exec.c
Log:
- fix segfault in proc_open
#no bugreports found
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.82 php4/ext/standard/exec.c:1.83
--- php4/ext/standard/exec.c:1.82 Wed Sep 25 11:46:46 2002
+++ php4/ext/standard/exec.c Thu Oct 24 04:46:21 2002
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.82 2002/09/25 15:46:46 wez Exp $ */
+/* $Id: exec.c,v 1.83 2002/10/24 08:46:21 jan Exp $ */
#include <stdio.h>
#include "php.h"
@@ -761,7 +761,7 @@
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;
}