cvs: ZendEngine2 / zend_execute_API.c

From: Date: Wed, 02 Feb 2005 10:36:02 +0000
Subject: cvs: ZendEngine2 / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3360@lists.php.net to get a copy of this message
stas Wed Feb 2 05:36:02 2005 EDT Modified files: /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.308&r2=1.309&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.308 ZendEngine2/zend_execute_API.c:1.309 --- ZendEngine2/zend_execute_API.c:1.308 Fri Jan 28 15:24:20 2005 +++ ZendEngine2/zend_execute_API.c Wed Feb 2 05:36:02 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.308 2005/01/28 20:24:20 helly Exp $ */ +/* $Id: zend_execute_API.c,v 1.309 2005/02/02 10:36:02 stas Exp $ */ #include <stdio.h> #include <signal.h> @@ -672,6 +672,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 (#3360) next »