1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
Oblivionsage 6a0da6dc2e Fix GH-20631: Integer underflow in exif HEIF parsing
When pos.size is less than 2, the subtraction pos.size - 2 causes
an unsigned integer underflow, resulting in a ~4GB allocation attempt.

Add minimum size check (pos.size >= 2) to prevent the underflow.

Closes GH-20630.
2025-12-03 22:30:12 +01:00
..
2021-06-29 17:13:02 +02:00
2018-09-21 14:12:25 +02:00
2019-05-11 03:22:19 +02:00
2019-05-11 03:22:19 +02:00
2019-05-11 03:22:19 +02:00
2011-11-19 04:49:36 +00:00
2013-10-21 22:15:09 +02:00
2017-07-21 21:55:11 +02:00
2018-09-21 14:12:25 +02:00
2019-05-11 03:22:19 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2021-05-29 11:33:13 +02:00
2025-04-07 18:47:06 +02:00
2025-04-07 18:47:06 +02:00