Bug #77576 [Asn->Csd]: pull the libmagic implementation of gmtime_r

From: Date: Fri, 08 Mar 2019 19:49:53 +0000
Subject: Bug #77576 [Asn->Csd]: pull the libmagic implementation of gmtime_r
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219892@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77576&edit=1 ID: 77576 Updated by: ab@php.net Reported by: josh at semmle dot com Summary: pull the libmagic implementation of gmtime_r -Status: Assigned +Status: Closed Type: Bug Package: *Directory/Filesystem functions Operating System: linux PHP Version: master-Git-2019-02-06 (Git) Assigned To: ab Block user comment: N Private report: N New Comment: Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=65ffdc2adff1751d085288ca5df14625a69bd7f2 Log: Fixed bug #77576 pull the libmagic implementation of gmtime_r Previous Comments: ------------------------------------------------------------------------ [2019-02-06 15:56:50] ab@php.net Related to the libmagic port. Thanks. ------------------------------------------------------------------------ [2019-02-06 10:08:32] josh at semmle dot com Description: ------------ See https://github.com/php/php-src/pull/3749. 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77576&edit=1

« previous php.bugs (#219892) next »