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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC