|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80007 Potential type confusion in unixtojd() parameter parsing
Submitted: 2020-08-22 10:01 UTC Modified: 2020-08-22 10:01 UTC
From: Assigned: cmb (profile)
Status: Closed Package: Calendar related
PHP Version: 7.3Git-2020-08-22 (Git) OS: *
Private report: No CVE-ID: None
 [2020-08-22 10:01 UTC]
The unixtojd() parameter parsing assumes that `time_t` is the same
as `zend_long`, but that is not necessarily given.  POSIX only
mandates that "time_t shall be an integer type."[1]

[1] <>


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-22 10:01 UTC]
-Assigned To: +Assigned To: cmb
 [2020-08-22 10:02 UTC]
The following pull request has been associated:

Patch Name: Fix unixtojd long parameter parsing
On GitHub:
 [2020-08-22 10:35 UTC]
Automatic comment on behalf of
Log: Fix #80007: Potential type confusion in unixtojd() parameter parsing
 [2020-08-22 10:35 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 16:20:31 2023 UTC