Bug #48258 [Fbk->NoF]: imap_header crash without any response when to: or cc: is very long
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:33:57 +0000 |
| Subject: | Bug #48258 [Fbk->NoF]: imap_header crash without any response when to: or cc: is very long | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176744@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48258&edit=1
ID: 48258
Updated by: php-bugs@lists.php.net
Reported by: rimgaudas dot laucius at delfi dot lt
Summary: imap_header crash without any response when to: or cc:
is very long
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: IMAP related
Operating System: linux-windows
PHP Version: 5.2.9
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2010-11-11 21:42:51] felipe@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-01 01:50:36] freezehell at hotmail dot com
Hi PHP,
We are having exactly the same issue with Sugarcrm 4.51 email module which uses PHP Imap function to
pull emails.
Fedora 9
Apache/2.2.9 (Fedora)
PHP 5.2.9
Apache throws a segmentation fault 11 error when IMAP tries to pull an email with long to or CC
email address list.
Please re-open this BUG.
------------------------------------------------------------------------
[2009-05-21 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-05-13 08:09:04] pajoye@php.net
Please install the debug symbols or compile PHP in debug mode.
Which c-client do you use? If it is an old version (<2007) please try using 2007e.
------------------------------------------------------------------------
[2009-05-13 08:01:40] rimgaudas dot laucius at delfi dot lt
Description:
------------
failure noticed when "to:" was 14 KB long and another failure noticed when "cc:"
was 34 KB long.
here stacktrace (with php 5.2.8, but 5.2.9 crash as well):
This GDB was configured as "i686-pld-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run imaptest.php
Starting program: /usr/bin/php imaptest.php
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1215653088 (LWP 26789)]
[New Thread -1232208976 (LWP 26792)]
[Thread -1232208976 (zombie) exited]
test
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215653088 (LWP 26789)]
0xb7938afc in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7938afc in memcpy () from /lib/tls/libc.so.6
#1 0xb6ed420f in rfc822_skip_comment () from /usr/lib/libc-client.so.2006k
#2 0xb6ed4255 in rfc822_skip_comment () from /usr/lib/libc-client.so.2006k
#3 0xb6ed4c0b in rfc822_output_address () from /usr/lib/libc-client.so.2006k
#4 0xb6ed497d in rfc822_output_address_list () from /usr/lib/libc-client.so.2006k
#5 0xb6fac3c2 in zif_imap_mime_header_decode () from /usr/lib/php/imap.so
#6 0x00000029 in ?? ()
#7 0x00000000 in ?? ()
(gdb) Quit
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48258&edit=1