[php-src] PR #22593: phpdbg: Fix off-by-one in phpdbg_safe_class_lookup() signal-safe class lookup
| From: | jorgsowa | Date: | Sat, 04 Jul 2026 13:27:36 +0000 |
| Subject: | [php-src] PR #22593: phpdbg: Fix off-by-one in phpdbg_safe_class_lookup() signal-safe class lookup | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36828@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22593
Author: jorgsowa
Replaced the manual emalloc/tolower/efree dance with zend_hash_str_find_ptr_lc(), which performs the
lowercase copy and lookup in one call and removes the surface for off-by-one bug.