[php-src] PR #16503: Fix GH-16501: gmp_random_bits overflow.
| From: | devnexen | Date: | Sat, 19 Oct 2024 05:08:25 +0000 |
| Subject: | [php-src] PR #16503: Fix GH-16501: gmp_random_bits overflow. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29305@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16503
Author: devnexen
we do the same calculation in advance as mpz_realloc overflow check to avoid abort.