|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
24 - 2 = ?
Subscribe to this entry?

 [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: Sat Jun 10 09:03:35 2023 UTC