php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1017 function checkdate() incorrectly handles years < 0
Submitted: 1998-12-30 06:37 UTC Modified: 1999-01-18 07:55 UTC
From: douw at vis dot co dot za Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.6 OS: All
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: douw at vis dot co dot za
New email:
PHP Version: OS:

 

 [1998-12-30 06:37 UTC] douw at vis dot co dot za
In the checkdate() function, if the year < 100, then it is incremented by 1900 before being tested. So negative years in the range [-1900,-1] are considered valid.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-18 07:55 UTC] rasmus
Fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC