php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2875 mcal_list_events reports wrong parameter count with correct count
Submitted: 1999-11-30 18:04 UTC Modified: 2000-02-29 15:41 UTC
From: ingwe at dsl dot upc dot es Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 3 OS: Linux
Private report: No CVE-ID: None
 [1999-11-30 18:04 UTC] ingwe at dsl dot upc dot es
I changed at php3_mcal.c:php3_mcal_list_events

if (myargc != 1 || getParameter....

for 

if ((myargc != 1 && myargc != 7) || ....

because of the optionals parameters of mcal_list_events


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 15:41 UTC] chagenbu at cvs dot php dot net
This is fixed in the latest 4.0 cvs (along with a host of other mcal problems).
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 04:00:01 2026 UTC