Skip to content

[pull] master from php:master - #1197

Merged
pull[bot] merged 13 commits into
turkdevops:masterfrom
php:master
Aug 17, 2026
Merged

[pull] master from php:master#1197
pull[bot] merged 13 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Aug 17, 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 : )

iliaal and others added 13 commits August 17, 2026 06:44
Clone built the fake namespace decl from original_node->parent, which
xinclude has already freed; parent_intern is the durable handle.

Closes GH-23248
* PHP-8.4:
  Fix DOMNameSpaceNode clone UAF after xinclude
* PHP-8.5:
  Fix DOMNameSpaceNode clone UAF after xinclude
dom_xpath_intern_for_doc walked xpath_callbacks.node_list with
Z_DOMOBJ_P on every entry. That list also stores arrays (nodeset-mode
callback arguments). Same-document results take the early return; a
later php:function that returns a node from another document walks
the leftover array first. Skip non-objects and recurse into arrays
so the matching intern is found instead of type-confusing the array.

Closes GH-23253
* PHP-8.5:
  Fix DOMXPath crash wrapping a foreign node after a nodeset callback
ubrk_previous() returns UBRK_DONE after the first boundary. The loop
condition ran before that assignment, so the body treated -1 as an
offset and wrote into the zend_string NUL. Break when the iterator is
done, and NUL-terminate the result of zend_string_alloc.
…3284)

AIX/PASE defaults to a powerpc-ibm-(aix|os400) triplet, even though the
build may be 64-bit. This causes a problem with fibers, as the 32-bit
assembly will be selected, causing a build failure. Detect this case
and override the selected assembly ourselves.

Tested on PASE, which with IBM's provided packages, defaults to a 64-bit
build environment.
* PHP-8.4:
  CI: fix flacky ext/mysqli/tests/protocol_stmt_row_fetch_data.phpt (#23330)
* PHP-8.5:
  CI: fix flacky ext/mysqli/tests/protocol_stmt_row_fetch_data.phpt (#23330)
The timezone-and-locale IntlGregorianCalendar constructor passes the TimeZone
to an adopting ICU constructor. On failure, PHP deleted that zone again after
the calendar destructor had already freed it.

Closes #23321
* PHP-8.4:
  Fix IntlGregorianCalendar double-free of an adopted TimeZone (#23321)
* PHP-8.5:
  Fix IntlGregorianCalendar double-free of an adopted TimeZone (#23321)
@pull pull Bot locked and limited conversation to collaborators Aug 17, 2026
@pull pull Bot added the ⤵️ pull label Aug 17, 2026
@pull
pull Bot merged commit c621cbe into turkdevops:master Aug 17, 2026
1 of 3 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