[php-src] PR #20509: zip: Don't truncate return value of zip_fread() with user sizes
| From: | ndossche | Date: | Sun, 16 Nov 2025 22:02:37 +0000 |
| Subject: | [php-src] PR #20509: zip: Don't truncate return value of zip_fread() with user sizes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34079@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20509
Author: ndossche
The return type has been zip_int64_t since 2009, so we shouldn't truncate to an int because the
user may have requested a size that won't fit in an int.