Skip to content

Conversation

@pull
Copy link

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

TimWolla and others added 5 commits September 5, 2025 14:08
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 8cd085a into wudi:master Sep 5, 2025
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