[php-src] PR #20236: zend_long: Remove `ZEND_LTOA()`
| From: | TimWolla | Date: | Sun, 19 Oct 2025 22:22:54 +0000 |
| Subject: | [php-src] PR #20236: zend_long: Remove `ZEND_LTOA()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33722@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20236
Author: TimWolla
This macro is unsafe when the given buffer is too small, since
snprintf() returns the
*required* length of the string if it would fit. Thus unconditionally writing a NUL there might
result in a out-of-bounds read.