cvs: php4(PHP_4_2_0) /ext/standard exec.c

From: Date: Thu, 25 Apr 2002 14:02:51 +0000
Subject: cvs: php4(PHP_4_2_0) /ext/standard exec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11431@lists.php.net to get a copy of this message
sniper Thu Apr 25 10:02:51 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/ext/standard exec.c Log: MFH: fix for bug #16811 Index: php4/ext/standard/exec.c diff -u php4/ext/standard/exec.c:1.66 php4/ext/standard/exec.c:1.66.2.1 --- php4/ext/standard/exec.c:1.66 Tue Dec 11 10:30:29 2001 +++ php4/ext/standard/exec.c Thu Apr 25 10:02:51 2002 @@ -15,7 +15,7 @@ | Author: Rasmus Lerdorf | +----------------------------------------------------------------------+ */ -/* $Id: exec.c,v 1.66 2001/12/11 15:30:29 sebastian Exp $ */ +/* $Id: exec.c,v 1.66.2.1 2002/04/25 14:02:51 sniper Exp $ */ #include <stdio.h> #include "php.h" @@ -459,6 +459,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);

« previous php.cvs (#11431) next »