[php-src] PR #19160: Fix FETCH_OBJ_UNSET IS_UNDEF result
| From: | iluuu1994 | Date: | Thu, 17 Jul 2025 17:24:30 +0000 |
| Subject: | [php-src] PR #19160: Fix FETCH_OBJ_UNSET IS_UNDEF result | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32488@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19160
Author: iluuu1994
UNSET_OBJ et al. do not expect to find IS_UNDEF results for IS_INDIRECT vars. To solve this, return
IS_NULL from FETCH_OBJ_UNSET when properties are uninitialized. Do the same for FETCH_OBJ_IS, as
we're otherwise copying IS_UNDEF into the VAR result, which is not a valid value for VAR.
Fixes OSS-Fuzz #429429090