#31431 [Bgs]: Segfault in imap_8bit() with UTF-8 data
| From: | jan at horde dot org | Date: | Tue, 11 Jan 2005 23:22:57 +0000 |
| Subject: | #31431 [Bgs]: Segfault in imap_8bit() with UTF-8 data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71895@lists.php.net to get a copy of this message | ||
ID: 31431
User updated by: jan at horde dot org
Reported By: jan at horde dot org
Status: Bogus
Bug Type: IMAP related
Operating System: Linux
PHP Version: 4CVS-2005-01-06 (stable)
New Comment:
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2005-01-11 23:57:42] tony2001@php.net
The patch is accepted and will appear in the next release of c-client.
------------------------------------------------------------------------
[2005-01-06 23:46:08] tony2001@php.net
This is c-client bug, rfc822_8bit() function incorrectly computes max
result string length and overruns it.
I'll send a report & fix to the developers.
------------------------------------------------------------------------
[2005-01-06 18:40:40] jan at horde dot org
Description:
------------
Find a single PHP call script and some UTF-8 example data at:
http://www.horde.org/~jan/imap_8bit.tgz that
causes imap_8bit() to
segfault.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31431&edit=1