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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC