[php-src] PR #18951: Fix OSS-Fuzz #427814456
| From: | nielsdos | Date: | Thu, 26 Jun 2025 21:43:48 +0000 |
| Subject: | [php-src] PR #18951: Fix OSS-Fuzz #427814456 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32212@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18951
Author: nielsdos
The first warning may trigger an error handler, destroying the operand and its string. So we need to
protect the string in that case. Care was taken to avoid unnecessary refcounts and to avoid touching
the hot code path.