|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77576 pull the libmagic implementation of gmtime_r
Submitted: 2019-02-06 10:08 UTC Modified: 2019-02-06 15:56 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: josh at semmle dot com Assigned: ab (profile)
Status: Closed Package: *Directory/Filesystem functions
PHP Version: master-Git-2019-02-06 (Git) OS: linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: josh at semmle dot com
New email:
PHP Version: OS:


 [2019-02-06 10:08 UTC] josh at semmle dot com
See From comment there:

The functions without _r might have thread safety issues. None have been reported yet AFAIK. Libmagic itself is not thread safe btw. I didn't sync this part, because _r functions might be missing on some systems, thus it'll require to also pull the libmagic implementations (which are based on non _r functions anyway, and it'll require to integrate some configure checks to include the surrogate implementations from libmagic.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-06 15:54 UTC]
-Assigned To: +Assigned To: ab
 [2019-02-06 15:56 UTC]
-Package: Output Control +Package: *Directory/Filesystem functions
 [2019-02-06 15:56 UTC]
Related to the libmagic port.

 [2019-03-08 19:49 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #77576 pull the libmagic implementation of gmtime_r
 [2019-03-08 19:49 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 07:01:26 2019 UTC