php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3880 Wrong param count in php3_imap_delete() _undelete()
Submitted: 2000-03-19 23:30 UTC Modified: 2000-03-20 20:49 UTC
From: pmana at admu dot edu dot ph Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.15 OS: Linux 2.2.14
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: pmana at admu dot edu dot ph
New email:
PHP Version: OS:

 

 [2000-03-19 23:30 UTC] pmana at admu dot edu dot ph
In php-3.0.15/functions/imap.c, line 1557 which is:

if ( myargc < 3 || myargc > 4 || getParameters(...) ) {
                WRONG_PARAM_COUNT;
}

should be:

if ( myargc != 2 || getParameters(...) ) { 
                WRONG_PARAM_COUNT;
}

Similarly for line 1586.  This should correct the errors when
deleting a mail item.  Thank you.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-20 20:49 UTC] chagenbu at cvs dot php dot net
already fixed in cvs, and already entered and closed (several times) in the bugs database.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC