History log of /PHP-7.4/ext/exif/tests/ (Results 1 – 25 of 262)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c45985d231-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Make MAX_IFD_NESTING_LEVEL an actual nesting level


376bbbdf12-Aug-2020 Nikita Popov

Make MAX_IFD_NESTING_LEVEL an actual nesting level

Currently we only ever increment ifd_nesting_level, so this ends up
being a limit on the total number of IFD tags and we regularly get

Make MAX_IFD_NESTING_LEVEL an actual nesting level

Currently we only ever increment ifd_nesting_level, so this ends up
being a limit on the total number of IFD tags and we regularly get
bug reports of it being exceeded. I think the intention behind this
limit was to prevent recursion stack overflow, and for that we only
need to check actual recursive usage. I've implemented that here,
and dropped the nesting limit down to a smaller value
(which still passes our tests).

However, it seems that we do also need to have a total limit on
the number of tags, as we don't catch some instances of infinite
looping otherwise. Add this as a separate limit with a higher
value, that should hopefully be sufficient.

This is expected to fix a number of bugs:

https://bugs.php.net/bug.php?id=78083
https://bugs.php.net/bug.php?id=78701
https://bugs.php.net/bug.php?id=79907
https://bugs.php.net/bug.php?id=80016

show more ...

5c55086911-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix bug #75785 by attempt switching endianness on Maker's Note


2fa4ca9512-Jul-2020 Nawarian

Fix bug #75785 by attempt switching endianness on Maker's Note

Different manufacturer models may come with a
different endianness (motorola/intel) format. In
order to avoid a big ref

Fix bug #75785 by attempt switching endianness on Maker's Note

Different manufacturer models may come with a
different endianness (motorola/intel) format. In
order to avoid a big refactor and a gigantic lookup
table, this commit simply attempts to switch the
endianness and proceed when values are acceptable.

Closes GH-5849.

show more ...

59e343c713-Jun-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes


5621c5fa13-Jun-2020 Christoph M. Becker

Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes

Even if the length of a maker note does not match our expectations
(either because the maker note is corrupted, or becaus

Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes

Even if the length of a maker note does not match our expectations
(either because the maker note is corrupted, or because our
expectations do not quite match reality), there is no need to let
parsing fail; we can still go on parsing the other meta information.

show more ...

1599f44016-Mar-2020 Stanislav Malyshev

Fix test

b9d3219716-Mar-2020 Stanislav Malyshev

Fixed bug #79282

62e7b80216-Mar-2020 Stanislav Malyshev

Fix test

25238bdf16-Mar-2020 Stanislav Malyshev

Fixed bug #79282

d1537e5030-Dec-2019 Nikita Popov

Fixed bug #79046

dd997a4017-Dec-2019 Nikita Popov

Avoid float to int cast UB in exif

d82a2f6c16-Dec-2019 Stanislav Malyshev

Test fixes

6b010b5d16-Dec-2019 Stanislav Malyshev

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix test
Fix bug #78793


5cb4686716-Dec-2019 Stanislav Malyshev

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix test
Fix bug #78793


6d5cddab16-Dec-2019 Stanislav Malyshev

Fix test

c14eb8de16-Dec-2019 Stanislav Malyshev

Fix bug #78793

d9f57e8316-Dec-2019 Stanislav Malyshev

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
Fix #78943: mail() may release string with refcount==1 twice

show more ...


a65b8abf16-Dec-2019 Stanislav Malyshev

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte

show more ...


d348cfb916-Dec-2019 Stanislav Malyshev

Fixed bug #78910

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
650115c809-Oct-2019 Nikita Popov

Improve exif tag name fetching

e5324a2409-Oct-2019 Nikita Popov

Limit the amount of errors generated during exif parsing

Emitting errors is fairly expensive, to the point that parsing
a file with a huge number of invalid tags can take seconds.
Ge

Limit the amount of errors generated during exif parsing

Emitting errors is fairly expensive, to the point that parsing
a file with a huge number of invalid tags can take seconds.
Generating ten thousand errors is unlikely to help anybody, but
constitutes a potential DOS vector.

show more ...

d1de177708-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Add missing SKIPIFs in exif tests


9fd555f908-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Add missing SKIPIFs in exif tests


4689458008-Oct-2019 Fabien Villepinte

Add missing SKIPIFs in exif tests

1234567891011