php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31431 Segfault in imap_8bit() with UTF-8 data
Submitted: 2005-01-06 18:40 UTC Modified: 2005-01-12 00:22 UTC
From: jan at horde dot org Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4CVS-2005-01-06 (stable) OS: Linux
Private report: No CVE-ID: None
 [2005-01-06 18:40 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-06 23:46 UTC] 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-11 23:57 UTC] tony2001@php.net
The patch is accepted and will appear in the next release of c-client.
 [2005-01-12 00:22 UTC] jan at horde dot org
Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 07:01:32 2024 UTC