History log of /php-src/ext/exif/exif.c (Results 26 – 50 of 597)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1
# 2fa4ca95 12-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 ...

# e59efb37 13-Jul-2020 Nikita Popov

Put debug function behind ifdef

# 2d98f0ca 13-Jul-2020 Nikita Popov

Restore warning

# 6f48ccf5 10-Jul-2020 Nat Wyatt

Fix compilation errors when EXIF_DEBUG is defined

Fix warnings and error when compiling with EXIF_DEBUG defined.

Closes GH-5838.

Revision tags: php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20
# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758

# 6079bdb2 23-Jun-2020 George Peter Banyard

Use standard bool type in EXIF extension

Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1
# 63cb47a8 13-Jun-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

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


# 59e343c7 13-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


# 5621c5fa 13-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 ...

# 4f9a1122 12-Jun-2020 Nikita Popov

Avoid out of range float to int cast in exif

Use convert_any_int instead of convert_any_format to directly get
an integer.

Also adjust SRATIONAL handling to not go through a dou

Avoid out of range float to int cast in exif

Use convert_any_int instead of convert_any_format to directly get
an integer.

Also adjust SRATIONAL handling to not go through a double division.
This was introduced to avoid SIGFPE for the INT_MIN / -1 case,
but we can just handle that explicitly.

show more ...

# f68a64a8 12-Jun-2020 Nikita Popov

Fix null pointer UB in add_assoc_image_info()

And clean up this function a bit by reducing indentation and
variable scope.

# ece37505 12-Jun-2020 Nikita Popov

Fix float conversion warning

We are okay with the loss of precision here...

Revision tags: php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# e37501e6 12-May-2020 George Peter Banyard

Fix [-Wundef] warning in EXIF extension

Revision tags: php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1
# 810c5c74 16-Apr-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix bug #79336


# 0b709e34 16-Apr-2020 Nikita Popov

Fix bug #79336

Make reading of floats and doubles host-endian independent.

Revision tags: php-7.2.30, php-7.4.5, php-7.3.17
# 7c307873 04-Apr-2020 Máté Kocsis

Generate function entries from stubs for a couple of extensions

Closes GH-5347

Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29
# ea7cf2eb 17-Mar-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79283: Segfault in libm

Merge branch 'PHP-7.4'

* PHP-7.4:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79283: Segfault in libmagic patch contains a buffer overflow
Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow

show more ...


Revision tags: php-7.3.16
# 9ed82b1f 16-Mar-2020 Stanislav Malyshev

Fixed bug #79282

# b9d32197 16-Mar-2020 Stanislav Malyshev

Fixed bug #79282

# 25238bdf 16-Mar-2020 Stanislav Malyshev

Fixed bug #79282

Revision tags: php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26
# 7a062cf9 17-Dec-2019 Nikita Popov

Handle EXIF offsets in a principled manner

exif_process_IFD_TAG() currently accepts a dir_entry, offset_base
and IFDlength. However, it's very hard to follow how these values
are rel

Handle EXIF offsets in a principled manner

exif_process_IFD_TAG() currently accepts a dir_entry, offset_base
and IFDlength. However, it's very hard to follow how these values
are related to each other and the addressable memory region. As we
add additional bounds check, this gets further confused.

One of the basic cases is where dir_entry is in
[offset_base, offset_base+IFDlength), in which case the memory
[dir_entry, offset_base+IFDlength) is valid, but the memory
[offset_base, dir_entry) is not necessarily valid. I wasn't able
to understand what exactly is valid if dir_entry is outside
[offset_base, offset_base+IFDlength)

This patch changes everything to use a struct that separately stores
offset_base and the valid memory region and adds helpers to fetch
offsets and check that pointers are in-bounds.

Closes GH-5068.

show more ...

# 99db00b1 19-Jan-2020 Máté Kocsis

Fix #78880 Another round

# 7b4a4d2a 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after try_convert_to_string()

# 382a038e 30-Dec-2019 Máté Kocsis

Use ZEND_THROWS() during ZPP in enchant, exif, fileinfo, filter, and FTP extensions

# d21ad4d9 30-Dec-2019 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #79046


12345678910>>...24