php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10376 abnormal program termination on imap_body($box,0)
Submitted: 2001-04-18 08:32 UTC Modified: 2001-05-03 15:46 UTC
From: akul at otamedia dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.4pl1 OS: Windows 98 SE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: akul at otamedia dot com
New email:
PHP Version: OS:

 

 [2001-04-18 08:32 UTC] akul at otamedia dot com
        if(!$box=imap_open('{localhost/pop3:110}INBOX','mybox','mypassword'))
		die('Can\'t Open box!');

        // Here is abnormal program termination
        // I think returning of NULL is better solution
        // imap_header is Ok (warning is generated)
	$B=imap_body($box,0);

	imap_close($box);

for PHP.INI see the bug #9819

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 15:46 UTC] chagenbu@php.net
Fixed in 4.0.6-cvs.
 [2004-05-04 03:30 UTC] Pether123 at yahoo dot com
How DO i fix this?
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 16 20:03:36 2022 UTC