Re: cvs: php4(PHP_4_3) / TODO_SEGFAULTS
| From: | Moriyoshi Koizumi | Date: | Wed, 04 Jun 2003 17:12:09 +0000 |
| Subject: | Re: cvs: php4(PHP_4_3) / TODO_SEGFAULTS | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-21527@lists.php.net to get a copy of this message | ||
"Ilia Alshanetsky" <iliaa@php.net> wrote:
> - chunk_split (2)
I might be missing something, but is chunk_split() really binary safe?
dest = safe_emalloc(sizeof(char), (srclen + (chunks + 1) * endlen + 1), 0);
What if integer overflow occurs during the calculation of (chunks + 1) *
endlen?
Moriyoshi