cvs: ZendEngine2(PHP_5_3) / zend_operators.c

From: Date: Tue, 17 Feb 2009 15:15:18 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_operators.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7411@lists.php.net to get a copy of this message
mattwil Tue Feb 17 15:15:18 2009 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_operators.c Log: MFH: Overflow comment http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.c?r1=1.208.2.4.2.23.2.19&r2=1.208.2.4.2.23.2.20&diff_format=u Index: ZendEngine2/zend_operators.c diff -u ZendEngine2/zend_operators.c:1.208.2.4.2.23.2.19 ZendEngine2/zend_operators.c:1.208.2.4.2.23.2.20 --- ZendEngine2/zend_operators.c:1.208.2.4.2.23.2.19 Tue Feb 17 14:15:52 2009 +++ ZendEngine2/zend_operators.c Tue Feb 17 15:15:18 2009 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.c,v 1.208.2.4.2.23.2.19 2009/02/17 14:15:52 mattwil Exp $ */ +/* $Id: zend_operators.c,v 1.208.2.4.2.23.2.20 2009/02/17 15:15:18 mattwil Exp $ */ #include <ctype.h> @@ -1006,6 +1006,7 @@ } if (Z_LVAL_P(op2) == -1) { + /* Prevent overflow error/crash if op1==LONG_MIN */ ZVAL_LONG(result, 0); return SUCCESS; }

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