Skip to content

[pull] master from php:master - #1120

Merged
pull[bot] merged 5 commits into
turkdevops:masterfrom
php:master
Jul 24, 2026
Merged

[pull] master from php:master#1120
pull[bot] merged 5 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jul 24, 2026

Copy link
Copy Markdown

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 : )

CasEbb and others added 5 commits July 24, 2026 12:21
php_object_property_dump() and serialize() already check
ZEND_CHECK_STACK_LIMIT before recursing, but php_array_element_dump()
and both debug_zval_dump() element helpers do not, so a deeply nested
array or object crashes the process instead of printing "nesting level
too deep". Add the same guard to those three helpers. var_export()
overflows the same way but needs a throw-based guard, left for a
separate change.

Closes GH-22871
* PHP-8.4:
  Guard var_dump()/debug_zval_dump() against native stack overflow
* PHP-8.5:
  Guard var_dump()/debug_zval_dump() against native stack overflow
The fd-level copy fast path hands the transfer to the kernel, so the
bytes bypassed php_sockop_read() and neither the progress increments nor
the completion event were emitted. Skip the fast path when either stream
carries a context notifier.

Fix GH-22841
Close GH-22863
@pull pull Bot locked and limited conversation to collaborators Jul 24, 2026
@pull pull Bot added the ⤵️ pull label Jul 24, 2026
@pull
pull Bot merged commit 1da60a2 into turkdevops:master Jul 24, 2026
0 of 2 checks passed
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.

3 participants