Skip to content

[pull] master from php:master#171

Merged
pull[bot] merged 4 commits into
ConnectionMaster:masterfrom
php:master
Sep 5, 2025
Merged

[pull] master from php:master#171
pull[bot] merged 4 commits into
ConnectionMaster:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Sep 5, 2025

See Commits and Changes for more details.


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

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

ndossche and others added 4 commits September 5, 2025 18:56
The case of returning 0 is inconsistent in when it returns an empty
array, furthermore the caller already returns an empty array.
Because the caller overwrites the return value in these cases, it can
cause a memory leak.

This is easier to trigger on master in some cases as different code paths
are taken with the new bundled glob. On some platforms it is also
triggerable on 8.3.

Closes GH-19715.
* PHP-8.3:
  Fix memory leak in zip when encountering empty glob result
* PHP-8.4:
  Fix memory leak in zip when encountering empty glob result
@pull pull Bot locked and limited conversation to collaborators Sep 5, 2025
@pull pull Bot added the ⤵️ pull label Sep 5, 2025
@pull pull Bot merged commit 34a6e86 into ConnectionMaster:master Sep 5, 2025
9 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.

2 participants