cvs: php4 /ext/standard exec.c
| From: | Derick Rethans | Date: | Thu, 25 Apr 2002 06:43:11 +0000 |
| Subject: | cvs: php4 /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11420@lists.php.net to get a copy of this message | ||
derick Thu Apr 25 02:43:11 2002 EDT
Modified files:
/php4/ext/standard exec.c
Log:
- Fix for bug #16811
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.72 php4/ext/standard/exec.c:1.73
--- php4/ext/standard/exec.c:1.72 Wed Apr 3 08:47:21 2002
+++ php4/ext/standard/exec.c Thu Apr 25 02:43:11 2002
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.72 2002/04/03 13:47:21 wez Exp $ */
+/* $Id: exec.c,v 1.73 2002/04/25 06:43:11 derick Exp $ */
#include <stdio.h>
#include "php.h"
@@ -525,6 +525,7 @@
if ((in=VCWD_POPEN(Z_STRVAL_PP(cmd), "r"))==NULL) {
#endif
php_error(E_WARNING, "Unable to execute '%s'", Z_STRVAL_PP(cmd));
+ RETURN_FALSE;
}
allocated_space = EXEC_INPUT_BUF;
ret = (char *) emalloc(allocated_space);