Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 21, 2025

See Commits and Changes for more details.


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

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

ndossche and others added 7 commits January 21, 2025 19:20
`check_empty` is checked earlier up, so this variable is always true.
The check for `!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)` is
performed after `fbc` is set to NULL, so this always returns true.
This results in `ZEND_FCALL_MAY_HAVE_EXTRA_NAMED_PARAMS` always being
set for unpack sends. Fix it by moving the flag updates to the point
before setting `fbc` to NULL.

Closes GH-17534.
* PHP-8.3:
  Fix may_have_extra_named_args flag for ZEND_AST_UNPACK
* PHP-8.4:
  Fix may_have_extra_named_args flag for ZEND_AST_UNPACK
We prefer clean solutions (such as declaring the proper type in the
first place, or introducing a portable format specifier) where easily
possible, but resort to casts otherwise.

We also port libgd/libgd@f1480ab.
@pull pull bot added the ⤵️ pull label Jan 21, 2025
@pull pull bot merged commit 3337f22 into wudi:master Jan 21, 2025
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.

3 participants