[php-src] PR #18644: Fix GH-18642: Signed integer overflow in ext/phar fseek
| From: | nielsdos | Date: | Sat, 24 May 2025 15:49:45 +0000 |
| Subject: | [php-src] PR #18644: Fix GH-18642: Signed integer overflow in ext/phar fseek | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31780@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18644
Author: nielsdos
The overflow checking code already existed, but didn't work because the math was done on signed
numbers instead of unsigned numbers. In the process I also discovered a pre-existing issue that
needs to be fixed (and seems that other stream wrappers can have this issue too).