Skip to content

zlib: Fix some error handling#22239

Open
ndossche wants to merge 2 commits into
php:PHP-8.4from
ndossche:zlib-clesss
Open

zlib: Fix some error handling#22239
ndossche wants to merge 2 commits into
php:PHP-8.4from
ndossche:zlib-clesss

Conversation

@ndossche
Copy link
Copy Markdown
Member

@ndossche ndossche commented Jun 6, 2026

See individual commits.

ndossche added 2 commits June 6, 2026 10:35
This was introduced in b0ef5fc because
it added `efree(dict)` to both inflate and deflate error handling.
But this is only necessary for the deflate case, not the inflate case
(as also shown in the original leak report).
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