[php-src] PR #20834: Fix GH-20833: mb_str_pad() divide by zero if padding string is invalid in the encoding
| From: | ndossche | Date: | Sun, 04 Jan 2026 15:12:37 +0000 |
| Subject: | [php-src] PR #20834: Fix GH-20833: mb_str_pad() divide by zero if padding string is invalid in the encoding | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34453@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20834
Author: ndossche
If the padding string is not valid in the given encoding, mb_get_strlen() can return 0.