cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c php-src NEWS

From: Date: Sun, 03 Apr 2005 21:57:06 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3533@lists.php.net to get a copy of this message
sniper Sun Apr 3 17:57:06 2005 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /ZendEngine2 zend_execute_API.c Log: MFH: - Fixed bug #28839 (SIGSEGV in interactive mode (php -a)). MFH: (kameshj at fastmail dot fm) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.305&r2=1.1760.2.306&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.305 php-src/NEWS:1.1760.2.306 --- php-src/NEWS:1.1760.2.305 Sun Apr 3 14:09:25 2005 +++ php-src/NEWS Sun Apr 3 17:57:04 2005 @@ -3,6 +3,8 @@ ?? ??? 2005, PHP 5.0.5 - Fixed bug #32530 (chunk_split() does not append endstr if chunklen is longer then the original string). (Ilia) +- Fixed bug #28839 (SIGSEGV in interactive mode (php -a)). + (kameshj at fastmail dot fm) 31 Mar 2005, PHP 5.0.4 - Added SNMPv2 support. (harrie) http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.11&r2=1.287.2.12&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.287.2.11 ZendEngine2/zend_execute_API.c:1.287.2.12 --- ZendEngine2/zend_execute_API.c:1.287.2.11 Sat Mar 19 09:29:18 2005 +++ ZendEngine2/zend_execute_API.c Sun Apr 3 17:57:06 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.287.2.11 2005/03/19 14:29:18 helly Exp $ */ +/* $Id: zend_execute_API.c,v 1.287.2.12 2005/04/03 21:57:06 sniper Exp $ */ #include <stdio.h> #include <signal.h> @@ -1081,6 +1081,17 @@ opline->op2.u.constant.is_ref = 1; opline->op2.u.constant.refcount = 2; } + switch (opline->opcode) { + case ZEND_JMP: + opline->op1.u.jmp_addr = &CG(active_op_array)->opcodes[opline->op1.u.opline_num]; + break; + case ZEND_JMPZ: + case ZEND_JMPNZ: + case ZEND_JMPZ_EX: + case ZEND_JMPNZ_EX: + opline->op2.u.jmp_addr = &CG(active_op_array)->opcodes[opline->op2.u.opline_num]; + break; + } opline->handler = zend_opcode_handlers[opline->opcode]; opline++; }

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