mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix use-of-undefined in zend_fiber_object_gc of ex->call
ex->call is only set for user calls, we shouldn't access it here. zend_unfinished_execution_gc_ex wouldn't actually use it for internal calls, so it didn't cause any serious issues. Closes GH-11208
This commit is contained in:
parent
b71a961363
commit
06fe9ff0f1
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ static HashTable *zend_fiber_object_gc(zend_object *object, zval **table, int *n
|
|||
HashTable *lastSymTable = NULL;
|
||||
zend_execute_data *ex = fiber->execute_data;
|
||||
for (; ex; ex = ex->prev_execute_data) {
|
||||
HashTable *symTable = zend_unfinished_execution_gc_ex(ex, ex->call, buf, false);
|
||||
HashTable *symTable = zend_unfinished_execution_gc_ex(ex, ZEND_USER_CODE(ex->func->type) ? ex->call : NULL, buf, false);
|
||||
if (symTable) {
|
||||
if (lastSymTable) {
|
||||
zval *val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue