[php-src] PR #13369: Update libmagic to 5.45
| From: | nielsdos | Date: | Sun, 11 Feb 2024 00:10:51 +0000 |
| Subject: | [php-src] PR #13369: Update libmagic to 5.45 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25050@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13369
Author: nielsdos
This also cleans up magicdata.patch: changes that are already in upstream file were removed from
that patch file.
There are five (expected) test output changes.
All these were also checked with the file command.
- bug77961.phpt changes because there's now an early error-return in the
if (ts ==
FILE_BADSIZE) { branch.
- cve-2014-1943.phpt and cve-2014-1943-mb.phpt change because now the crafted data is recognised
as a simh file.
- bug71434.phpt now properly recognises it as a Python file.
- ext/fileinfo/tests/finfo_file_basic.phpt more specific mime type.