Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Feb 13, 2025

See Commits and Changes for more details.


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

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

ndossche and others added 3 commits February 13, 2025 19:10
zlib_create_dictionary_string() allocates memory, so we can leak memory
if there's an early exit before the assignment to the return value.
Solve this by moving all validation upwards.

Closes GH-17788.
* PHP-8.3:
  Fix memory leak when encoding check fails
* PHP-8.4:
  Fix memory leak when encoding check fails
@pull pull bot added the ⤵️ pull label Feb 13, 2025
@pull pull bot merged commit 78d934a into wudi:master Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant