Bug #69214 [Fbk->Csd]: Regression in libmagic magic.mime printf detection
| From: | cmb@php.net | Date: | Tue, 03 Aug 2021 13:25:49 +0000 |
| Subject: | Bug #69214 [Fbk->Csd]: Regression in libmagic magic.mime printf detection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235563@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69214&edit=1
ID: 69214
Updated by: cmb@php.net
Reported by: weierophinney@php.net
Summary: Regression in libmagic magic.mime printf detection
-Status: Feedback
+Status: Closed
Type: Bug
Package: Unknown/Other Function
Operating System: Ubuntu 14.10
PHP Version: master-Git-2015-03-10 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for the swift reply! I'm closing then.
Previous Comments:
------------------------------------------------------------------------
[2021-08-03 13:22:34] weierophinney@php.net
To my knowledge, this is resolved; we've been testing ZF and Laminas successfully for years
now.
------------------------------------------------------------------------
[2021-08-03 12:39:19] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2016-08-26 13:12:53] cmb@php.net
The package should actually be something like "fileinfo", but that
is not available.
------------------------------------------------------------------------
[2015-03-16 19:29:33] weierophinney@php.net
Except that ext/fileinfo/tests/magic is still in the old format (see https://github.com/php/php-src/blob/master/ext/fileinfo/tests/magic#L4640
for an example). I've literally not been able to find a magic file that doesn't have these
length modifiers.
------------------------------------------------------------------------
[2015-03-12 20:55:51] ab@php.net
libmagic in master was upgraded to a more recent version, the magic file format is not compatible
anymore. For the tests with PHP7 please use some magic from libmagic around 5.20 (just a guess) or
best pull the one located ext/fileinfo/tests/magic in the php source tree.
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69214
--
Edit this bug report at https://bugs.php.net/bug.php?id=69214&edit=1