cvs: ZendEngine2(PHP_5_2) / zend_execute_API.c

From: Date: Mon, 21 May 2007 07:12:41 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5813@lists.php.net to get a copy of this message
tony2001 Mon May 21 07:12:41 2007 UTC Modified files: (Branch: PHP_5_2) /ZendEngine2 zend_execute_API.c Log: MFH http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute_API.c?r1=1.331.2.20.2.20&r2=1.331.2.20.2.21&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.331.2.20.2.20 ZendEngine2/zend_execute_API.c:1.331.2.20.2.21 --- ZendEngine2/zend_execute_API.c:1.331.2.20.2.20 Fri May 18 11:52:08 2007 +++ ZendEngine2/zend_execute_API.c Mon May 21 07:12:41 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.331.2.20.2.20 2007/05/18 11:52:08 tony2001 Exp $ */ +/* $Id: zend_execute_API.c,v 1.331.2.20.2.21 2007/05/21 07:12:41 tony2001 Exp $ */ #include <stdio.h> #include <signal.h> @@ -843,7 +843,7 @@ calling_scope = fci_cache->calling_scope; fci->object_pp = fci_cache->object_pp; EX(object) = fci->object_pp ? *fci->object_pp : NULL; - if (fci->object_pp && Z_TYPE_PP(fci->object_pp) == IS_OBJECT + if (fci->object_pp && *fci->object_pp && Z_TYPE_PP(fci->object_pp) == IS_OBJECT && (!EG(objects_store).object_buckets || !EG(objects_store).object_buckets[Z_OBJ_HANDLE_PP(fci->object_pp)].valid)) { return FAILURE; }

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