Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 5, 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 : )

bukka and others added 11 commits October 5, 2025 18:40
…n exception on sort

The reason this happens is because the array_unique operation happens in-place
because the input array is RC1.
At one point during comparison an exception is thrown which will capture the
arguments in the backtrace, which will increment the refcount of the RC1 array
to 2. Then a modification happens after the throw on the RC2 array causing the
assertion failure.
We shouldn't try continue work after an exception happened during the sort.

Closes GH-20059.
* PHP-8.3:
  Fix GH-20043: array_unique assertion failure with RC1 array causing an exception on sort
* PHP-8.4:
  Fix GH-20043: array_unique assertion failure with RC1 array causing an exception on sort
* PHP-8.5:
  Fix GH-20043: array_unique assertion failure with RC1 array causing an exception on sort
…p signature

Also fixes up the error propagation at the call site which jumped to the
wrong place in the error handling code.

Closes GH-20057.
* PHP-8.3:
  phar: Fix memory leaks when creating temp file fails when applying zip signature
* PHP-8.4:
  phar: Fix memory leaks when creating temp file fails when applying zip signature
* PHP-8.5:
  phar: Fix memory leaks when creating temp file fails when applying zip signature
@pull pull bot locked and limited conversation to collaborators Oct 5, 2025
@pull pull bot added the ⤵️ pull label Oct 5, 2025
@pull pull bot merged commit c39c880 into turkdevops:master Oct 5, 2025
1 check failed
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