Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 17, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

iluuu1994 and others added 4 commits September 17, 2025 15:54
Don't access fbc->op_array.refcount on internal function. Don't attempt to cache
ZEND_ACC_USER_ARG_INFO at all, which is only used in
zend_get_closure_invoke_method(). This may reuse arg_info from a temporary
closure, and hence caching would also be unsafe.

Also avoid populating the cache slot for variadic parameters, where the
ZEND_ACC_USER_ARG_INFO is set for the same reason.

Closes GH-19856
* PHP-8.3:
  Fix use-of-uninitialized-value in zend_get_arg_offset_by_name()
* PHP-8.4:
  Fix use-of-uninitialized-value in zend_get_arg_offset_by_name()
This prevents the implementations from going out of sync, causing bugs like
#19813.
@pull pull bot locked and limited conversation to collaborators Sep 17, 2025
@pull pull bot added the ⤵️ pull label Sep 17, 2025
@pull pull bot merged commit 4b6c465 into wudi:master Sep 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants