Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_alloc.c zend_alloc.h zend_multiply.h
| From: | Sascha Schumann | Date: | Tue, 15 Apr 2003 22:38:21 +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-1144@lists.php.net to get a copy of this message | ||
> 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.
Looks like I broke it when converting the function to a
macro. Fixing it now.
- Sascha