Skip to content

Fix use-of-undefined in zend_fiber_object_gc of ex->call#11208

Closed
iluuu1994 wants to merge 1 commit into
php:PHP-8.2from
iluuu1994:zend_fiber_object_gc-use-of-uninitialized
Closed

Fix use-of-undefined in zend_fiber_object_gc of ex->call#11208
iluuu1994 wants to merge 1 commit into
php:PHP-8.2from
iluuu1994:zend_fiber_object_gc-use-of-uninitialized

Conversation

@iluuu1994

Copy link
Copy Markdown
Member

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.

Discovered using MSAN.

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.

@arnaud-lb arnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@iluuu1994 iluuu1994 closed this in 06fe9ff May 9, 2023
iluuu1994 added a commit that referenced this pull request May 11, 2023
Accidentally introduced in GH-11208.

Fixes oss-fuzz #58795
@iluuu1994
iluuu1994 deleted the zend_fiber_object_gc-use-of-uninitialized branch September 3, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants