[php-src] PR #15715: Fix GH-15712: overflow on float print with precision large value.
| From: | devnexen | Date: | Mon, 02 Sep 2024 17:10:54 +0000 |
| Subject: | [php-src] PR #15715: Fix GH-15712: overflow on float print with precision large value. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28362@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15715
Author: devnexen
When allocating enough room for floats, the allocator used by overflows with large
ndigits/EG(precision) value which used an signed integer to double the buffer. Testing with the zend
operator directly is enough to trigger
the issue rather than higher level math interface.