[php-src] PR #24364: Fix -Wtautological-constant-out-of-range-compare in ext/sodium on 32-bit
| From: | marc-mabe | Date: | Thu, 15 Oct 2026 19:36:21 +0000 |
| Subject: | [php-src] PR #24364: Fix -Wtautological-constant-out-of-range-compare in ext/sodium on 32-bit | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39489@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24364
Author: marc-mabe
sodium_crypto_aead_aes256gcm_decrypt() compares a size_t against a 64 GiB limit, which clang reports
as always false where size_t is 32-bit. Cast to unsigned long long first, as the other AEAD length
checks already do.