cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c

From: Date: Wed, 02 Feb 2005 10:25:51 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3357@lists.php.net to get a copy of this message
stas Wed Feb 2 05:25:51 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_execute_API.c Log: Fix #31720 Invalid object callbacks not caught in array_walk() (patch from Antony Dovgal) http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.7&r2=1.287.2.8&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.287.2.7 ZendEngine2/zend_execute_API.c:1.287.2.8 --- ZendEngine2/zend_execute_API.c:1.287.2.7 Fri Jan 28 15:25:26 2005 +++ ZendEngine2/zend_execute_API.c Wed Feb 2 05:25:50 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.287.2.7 2005/01/28 20:25:26 helly Exp $ */ +/* $Id: zend_execute_API.c,v 1.287.2.8 2005/02/02 10:25:50 stas Exp $ */ #include <stdio.h> #include <signal.h> @@ -669,6 +669,9 @@ fci->function_table = &(*ce)->function_table; calling_scope = *ce; + } else { + zend_error(E_NOTICE, "Non-callable array passed to zend_call_function()"); + return FAILURE; } if (fci->function_table == NULL) {

« previous php.zend-engine.cvs (#3357) next »