Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_alloc.c zend_alloc.h zend_multiply.h

From: Date: Tue, 15 Apr 2003 22:37:07 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_alloc.c zend_alloc.h zend_multiply.h
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1143@lists.php.net to get a copy of this message
At 03:30 15.04.2003, Sascha Schumann wrote:
sas             Mon Apr 14 21:30:46 2003 EDT
  Modified files:              (Branch: PHP_4_3)
    /Zend       zend_alloc.c zend_alloc.h zend_multiply.h
Log: Looks like I forgot to commit the safe_emalloc function
And after testing i have one more question: 001- array(5) { 001+ Fatal error: Possible integer overflow in memory allocation (0 * 1 + 3) in /usr/src/PHP_4_3_0/ext/exif/tests/exif001.php on line 7 In the above i wanted to get 3 bytes. I i do not see a possible integer overflow. The function safe_emalloc() was vreated to prevent such of the form a*b+c but it should not assume that the input is false. If it does i cannot use it. marcus

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