[php-src] PR #19724: Fix OSS-Fuzz #442954659: zero-size box in HEIF file causes infinite loop
| From: | nielsdos | Date: | Fri, 05 Sep 2025 17:12:31 +0000 |
| Subject: | [php-src] PR #19724: Fix OSS-Fuzz #442954659: zero-size box in HEIF file causes infinite loop | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33101@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19724
Author: nielsdos
If the box size is 0, the loop can't progress.
Fixes https://issues.oss-fuzz.com/issues/442954659
---
I think there might be more subtle issues with this code, like
offset is controllable
by a user so offset + 16 can overflow which is UB... But that's for a separate PR.