History log of /PHP-7.4/ext/fileinfo/libmagic.patch (Results 1 – 25 of 92)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fa96c7e0 18-Sep-2021 Anatol Belski

fileinfo: Fixed bug #78987 High memory usage during encoding detection

The default buffer size for the encoding detection is set to 64K.

Signed-off-by: Anatol Belski <ab@php.net>


# 39f95f56 23-Nov-2020 Christoph M. Becker

Fix #77961: finfo_open crafted magic parsing SIGABRT

libmagic may abort the running process, which is not desirable for PHP;
we raise a fatal error instead.

Closes GH-6437.


# aa88f33f 02-Mar-2020 Christoph M. Becker

Fix #79283: Segfault in libmagic patch contains a buffer overflow

To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len

Fix #79283: Segfault in libmagic patch contains a buffer overflow

To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).

show more ...


# f15ab32a 26-Feb-2020 Christoph M. Becker

Update libmagic.patch

Some commits missed to update the patch file, so we're catching up on
this.

To generally make this easier, we back-port generate_patch.sh from
PHP-7.4,

Update libmagic.patch

Some commits missed to update the patch file, so we're catching up on
this.

To generally make this easier, we back-port generate_patch.sh from
PHP-7.4, where we now also generate magic.h from magic.h.in.

show more ...


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3
# f002761e 08-Jul-2019 Peter Kokot

Update libmagic patch

This simplifies the libmagic patch:
- in upstream the HAVE_STRERROR check has been removed
- in upstream library the HAVE_SIGNAL_H has been removed
- indent

Update libmagic patch

This simplifies the libmagic patch:
- in upstream the HAVE_STRERROR check has been removed
- in upstream library the HAVE_SIGNAL_H has been removed
- indentations syncs with the upstream library
- some irrelevant changes removed from the patch (log comment), upstream
has this correctly logged already so no need to patch the comment.

Closes GH-4298

show more ...


Revision tags: php-7.3.7, php-7.2.20
# dacf9ecc 29-Jun-2019 Anatol Belski

Update libmagic.patch [ci skip]


Revision tags: php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# 2ba9177d 30-May-2019 Anatol Belski

[ci skip] Update libmagic.patch


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1
# 908660c1 15-Apr-2019 Nikita Popov

Avoid maybe uninit warning in libmagic

GCC 5 false positive, gone in newer versions.


# ba40f505 12-Apr-2019 Nikita Popov

Fix unused variable warnings in libmagic

These variables are only used in assertions.


# b65cb7e2 11-Apr-2019 Nikita Popov

Fix libmagic warnings


# f6521659 11-Apr-2019 Nikita Popov

Add script to generate libmagic.patch


Revision tags: php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1
# 275fa535 18-Mar-2019 Nikita Popov

Accept zend_string* instead of char* in php_pcre_match_impl()


# b6f9ade9 08-Mar-2019 Fabien Villepinte

Remove unused variables


# 3e92365f 08-Mar-2019 Anatol Belski

Update libmagic.patch [skip ci]


Revision tags: php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6
# ee50461e 10-Nov-2018 Anatol Belski

Update libmagic.patch [ci skip]


# 15504510 10-Nov-2018 Anatol Belski

Update libmagic.patch [ci skip]


Revision tags: php-7.1.24, php-7.2.12, php-7.3.0RC5
# a957af6c 05-Nov-2018 Anatol Belski

Update libmagic.patch [ci skip]


# dbb2cce9 05-Nov-2018 Anatol Belski

Update libmagic.patch [ci skip]


Revision tags: php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2
# 30826003 06-Aug-2018 Anatol Belski

Update libmagic.patch [ci skip]


Revision tags: php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 01b99756 03-Jun-2018 Anatol Belski

[ci skip] Update libmagic.patch


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# dbea6e15 30-Apr-2018 Anatol Belski

Update libmagic.patch


# e2182a1b 29-Apr-2018 Anatol Belski

Port libmagic 5.33


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# 259085f2 21-Dec-2017 Anatol Belski

Update libmagic.patch, also reflecting PCRE2 changes


# 9408f1ef 21-Dec-2017 Anatol Belski

Update libmagic.patch


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# b4db9e9a 23-Oct-2017 Anatol Belski

Update libmagic.patch


1234