Bug #48713 [Com]: IMAP extension crashes PHP (internal reference #183257)
| From: | avi-phpbugs at dreamingking dot com | Date: | Sat, 28 Aug 2010 12:44:12 +0000 |
| Subject: | Bug #48713 [Com]: IMAP extension crashes PHP (internal reference #183257) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153865@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48713&edit=1
ID: 48713
Comment by: avi-phpbugs at dreamingking dot com
Reported by: michael dot l at zend dot com
Summary: IMAP extension crashes PHP (internal reference
#183257)
Status: No Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows
PHP Version: 5.2.10
Assigned To: pajoye
Block user comment: N
New Comment:
This bug is still present in 5.2.14 and 5.3.3 (both VC6 and VC9 builds -
TS and NTS).
It looks like any of the calls in this extension when used with SSL
(IMAP, POP, or NNTP) result in a crash on Windows - "This application
has requested the Runtime to terminate it in an unusual way. Please
contact the application's support team for more information."
Can someone please help?
Previous Comments:
------------------------------------------------------------------------
[2009-07-07 01:00:00] 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-06-29 19:59:44] pajoye@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-29 17:56:26] michael dot l at zend dot com
Small correction to my report:
The code IS working on Linux OS and DOES NOT on Windows OS
------------------------------------------------------------------------
[2009-06-29 08:36:04] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-29 08:27:36] michael dot l at zend dot com
Description:
------------
The following code is crashing the PHP engine (php-cli,php-cgi) when
working on Linux OS. Also tried via Microsoft FastCGI wrapper and IIS
(IIS-6 and IIS-7).
On Linux OS its working ok.
In order to reproduce, create a new Gmail account, login and enable IMAP
service, then, use the code below.
Reproduce code:
---------------
<?php
$connectionString
='{imap.gmail.com/imap/ssl/novalidate-cert/user=USER_NAME@gmail.com}INBOX';
$messageStream = imap_open ($connectionString, 'USER_NAME@gmail.com',
'PASSWORD');
$boxInfo = imap_check($messageStream);
for ($messageNumber = 1; $messageNumber <= $boxInfo->Nmsgs;
$messageNumber++)
{
$headerInfo = imap_header($messageStream, $messageNumber);
var_export($headerInfo);
}
Expected result:
----------------
You should get the list of your emails.
Actual result:
--------------
Crash of PHP/FastCGI.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=48713&edit=1