cvs: ZendEngine2 / zend_builtin_functions.c

From: Date: Tue, 09 May 2006 21:28:47 +0000
Subject: cvs: ZendEngine2 / zend_builtin_functions.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4839@lists.php.net to get a copy of this message
helly Tue May 9 21:28:47 2006 UTC Modified files: /ZendEngine2 zend_builtin_functions.c Log: - MFB Missing check http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.312&r2=1.313&diff_format=u Index: ZendEngine2/zend_builtin_functions.c diff -u ZendEngine2/zend_builtin_functions.c:1.312 ZendEngine2/zend_builtin_functions.c:1.313 --- ZendEngine2/zend_builtin_functions.c:1.312 Wed Apr 5 11:36:28 2006 +++ ZendEngine2/zend_builtin_functions.c Tue May 9 21:28:47 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_builtin_functions.c,v 1.312 2006/04/05 11:36:28 tony2001 Exp $ */ +/* $Id: zend_builtin_functions.c,v 1.313 2006/05/09 21:28:47 helly Exp $ */ #include "zend.h" #include "zend_API.h" @@ -1958,7 +1958,7 @@ ptr = EG(current_execute_data); /* skip "new Exception()" */ - if ((skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) { + if (ptr && (skip_last == 0) && ptr->opline && (ptr->opline->opcode == ZEND_NEW)) { ptr = ptr->prev_execute_data; }

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