[php-src] PR #14527: Get rid of uses of sprintf
| From: | nielsdos | Date: | Sun, 09 Jun 2024 17:42:33 +0000 |
| Subject: | [php-src] PR #14527: Get rid of uses of sprintf | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26608@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14527
Author: nielsdos
sprintf is a function that is prone to buffer overflows. Some compilers have also
started emitting warnings about calling sprintf. This patch replaces the uses of
sprintf with snprintf and in some cases with strpprintf.