[php-src] PR #23955: ext/mbstring: assert that `mb_wchar_to_uuencode()` pointer write is in bounds
| From: | DanielEScherzer | Date: | Mon, 28 Sep 2026 05:54:15 +0000 |
| Subject: | [php-src] PR #23955: ext/mbstring: assert that `mb_wchar_to_uuencode()` pointer write is in bounds | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38871@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23955
Author: DanielEScherzer
Add a hardening assertion that when
mb_wchar_to_uuencode() needs to update the length
of the previous line, the location being written to is still part of the same overall output string
(i.e. at or after the start of the buffer's str's value pointer).