[PHP-DEV] Bug #1194: calling imap_open on INBOX when there is NO inbox file, will dump core. From: rk <email protected>
Date: 03/02/99

From: rk <email protected>
Operating system: Solaris 2.6/7
PHP version: 3.0 Latest CVS (02/03/1999)
PHP Bug Type: Reproduceable crash
Bug description: calling imap_open on INBOX when there is NO inbox file, will dump core.

I used php-3.0.7,
./configure --prefix=/opt/php-3.07 --enable-sysvsem --with-sysvshm --enable-track-vars --with-imap=/home/rk/sendmail/imap-4.5.BETA/c-client

imap-4.5.BETA (uwash) imap4 client and as IMAP-Server:
IMAP4rev1 v12.247 server.

The INBOX is /var/mail/username.
As long as this file exists (can be empty) everything is
fine.
But there is no such file, (which is normal, when the
account is new),
the imap_open on the mailbox:
$inbox="{$imapserver:143}INBOX";
will dump core :-(

I used :
$ gcc --version
egcs-2.91.57

  

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>