History log of /PHP-8.2/ext/exif/exif.c (Results 251 – 275 of 593)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 24fb60ff 08-Aug-2016 Stanislav Malyshev

Fixed bug #72627: Memory Leakage In exif_process_IFD_in_TIFF

(cherry picked from commit 620b01337cc39f856ca68c34c35e154f5f0682fc)

Conflicts:
ext/exif/exif.c

# af56fed7 07-Aug-2016 Kalle Sommer Nielsen

Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode)

Unlike the original patch, this does not return an unknown format in case an unsigned compatible

Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode)

Unlike the original patch, this does not return an unknown format in case an unsigned compatible type cannot be found (cases for SINGLE and DOUBLE removed), as these seems rare cases according to the inline comments.

Note, the test does not test if PHP is in debug mode, although the report originally states it only occurs there only.

The fix is based on a patch by hlt99 at blinkenshell dot org

show more ...

# b0263db4 07-Aug-2016 Kalle Sommer Nielsen

Added some extended info about ext/exif to phpinfo()

# 94cc0c89 07-Aug-2016 Kalle Sommer Nielsen

Remove void comment

# 8fd640f9 06-Aug-2016 Kalle Sommer Nielsen

Added support for Sigma/Foveon EXIF tags

Note, the tag_info_array is re-used for both SIGMA and FOVEON, as their IFD headers can differ

# 57faafeb 06-Aug-2016 Kalle Sommer Nielsen

Added support for Minolta EXIF tags

# 1456f6a4 06-Aug-2016 Kalle Sommer Nielsen

Added support for PENTAX EXIF tags

# b147ef2b 06-Aug-2016 Kalle Sommer Nielsen

Remove this redundant entry for Canon

Revision tags: php-7.1.0beta2
# 5db7f1ea 05-Aug-2016 Kalle Sommer Nielsen

pefree() these (with persistent=0), as internally in zend_multibyte.c they do the same, and at the same time also cast them to void pointers to silence the compiler warnings.

# b3124dbe 05-Aug-2016 Kalle Sommer Nielsen

Fix line endings, getting a little annoyed with VS' warning about mismatch

# 17408238 05-Aug-2016 Kalle Sommer Nielsen

Fixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail dot com)

This patch changes processing a little and causes some crafted tags to not be parsed and generat

Fixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail dot com)

This patch changes processing a little and causes some crafted tags to not be parsed and generate a warning.

This is a slight BC break from earlier versions, since it will no longer return the tags of that it was mismatching (see bug68799.phpt), namely the "WINXP" section and the "Author" tag is no longer returned due to this. Although this BC break is merely only for crafted tags, this can also have some real life effects on pictures re-saved from editors that can cause bad exif data writes, so lets keep it here.

show more ...

# aaa136e2 05-Aug-2016 Kalle Sommer Nielsen

Added support for Sony pictures in EXIF as per requested in bug #72735

Sony is a little more interesting, as it is have a large range of tags it support in different models. For now I have a

Added support for Sony pictures in EXIF as per requested in bug #72735

Sony is a little more interesting, as it is have a large range of tags it support in different models. For now I have added all the tags found within the Exif.Sony1 namespace.

show more ...

Revision tags: php-5.6.25RC1
# 4d90b1b5 03-Aug-2016 Kalle Sommer Nielsen

Use 'p' to validate a path in exif_imagetype() (like the other exif function already does)

Revision tags: php-7.0.10RC1
# 662e5ae9 03-Aug-2016 Anatol Belski

improve the check, avoid strlen on NULL

# 835ef149 03-Aug-2016 Kalle Sommer Nielsen

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the E

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.

The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.

This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.

show more ...

# be8f1580 03-Aug-2016 Anatol Belski

Merge branch 'PHP-7.1'

* PHP-7.1:
improve the check, avoid strlen on NULL


# 8f0baa97 03-Aug-2016 Anatol Belski

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
improve the check, avoid strlen on NULL


# 138689ff 03-Aug-2016 Anatol Belski

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
improve the check, avoid strlen on NULL


# 9667ee4f 03-Aug-2016 Anatol Belski

improve the check, avoid strlen on NULL

# 8830b3d0 03-Aug-2016 Anatol Belski

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
update NEWS
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).


# 0e82eb48 03-Aug-2016 Anatol Belski

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).


# d5796fb2 03-Aug-2016 Kalle Sommer Nielsen

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the E

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.

The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.

This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.

(cherry picked from commit aabcb5481d9e717df77192dab2894468b9fc63b4)

show more ...

# c6bd054b 03-Aug-2016 Kalle Sommer Nielsen

Fixed bug #72682 (exif_read_data() fails to read all data for some images)

This is fixed by adding DJI signatures to the MAKERNOTE and its supported tags, list is credits to ExifTool documen

Fixed bug #72682 (exif_read_data() fails to read all data for some images)

This is fixed by adding DJI signatures to the MAKERNOTE and its supported tags, list is credits to ExifTool documentation.

show more ...

# aabcb548 03-Aug-2016 Kalle Sommer Nielsen

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the E

Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).

Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.

The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.

This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.

show more ...

# fbb16901 03-Aug-2016 Kalle Sommer Nielsen

Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function)

There are two factors for this bug fix:
- First of all, the maximum nesting level has been increas

Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function)

There are two factors for this bug fix:
- First of all, the maximum nesting level has been increased to 150 (previously 100), I'm not sure how much an impact this will have, but increasing this value also seems to resolve PHP bug #66443 (Corrupt EXIF header: maximum directory nesting level reached for some cameras.)
- Second, this adds support for most common Panasonic EXIF tags, again this list is based off the Exiv2 website

Note about Panasonic's format:
From what I could find, then the offset was always 12 bytes for such, the signature always had the 'P' capitalized, and the rest lower cased, followed by 3 NULL bytes

@Remi, can you review this? I'm gonna look into Sony (which is huge btw!) and your patch next

show more ...

1...<<11121314151617181920>>...24