[php-src] PR #19069: Better size check in bzdecompress
| From: | marc-mabe | Date: | Tue, 08 Jul 2025 12:23:22 +0000 |
| Subject: | [php-src] PR #19069: Better size check in bzdecompress | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32372@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19069
Author: marc-mabe
*
unsigned long long is equivalent to unsigned __int64 according to https://learn.microsoft.com/en-us/cpp/cpp/data-type-ranges?view=msvc-170
* comparing / casting ull to size_t has nothing to do with zend_long
* use %zu to format an unsigned integer of size_t