1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

- Fix for bug #16811

This commit is contained in:
Derick Rethans
2002-04-25 06:43:11 +00:00
parent 4ec1a03653
commit 8ffd089e02
+1
View File
@@ -525,6 +525,7 @@ PHP_FUNCTION(shell_exec)
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);