php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4061 wrong param count message errored
Submitted: 2000-04-06 13:33 UTC Modified: 2000-04-06 17:34 UTC
From: softcure at yahoo dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.15 OS: linux
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: softcure at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-04-06 13:33 UTC] softcure at yahoo dot com
on IMAP function imap_undelete,imap_delete there's always a wrong param count when it used with two parameter.

The test condition is wrong (see below).
------------------------------------------------------
if ( myargc < 3 || myargc > 4 || getParameters(ht,myargc,&streamind,&sequence,&flags) == FAILURE) {
		WRONG_PARAM_COUNT;
	}

------------------------------------------------------

it seems to be corrected in v 3.0.16



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-06 17:34 UTC] chagenbu at cvs dot php dot net
fixed in 3.0.16
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC