[php-src] PR #16012: Fix GH-16009: Segmentation fault with frameless functions and undefined CVs
| From: | nielsdos | Date: | Mon, 23 Sep 2024 18:14:35 +0000 |
| Subject: | [php-src] PR #16012: Fix GH-16009: Segmentation fault with frameless functions and undefined CVs | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28742@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16012
Author: nielsdos
The frameless function handlers do not update the op variables when handling the result is
undefined. In this case this causes propagating an UNDEF value into a temporary, which results in an
extra undefined variable warning for a temporary in this case.
The original issue also reports a crash in some cases, which is also fixed by this patch.