Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DataBuf rather than raw malloc in WebPImage::decodeChunks #1842

Merged
merged 2 commits into from
Aug 4, 2021

Conversation

kevinbackhouse
Copy link
Collaborator

Fixes: #1841

Use a DataBuf, rather than malloc, so that the memory is automatically freed if an exception is thrown.

@kevinbackhouse kevinbackhouse added bug forward-to-main Forward changes in a 0.28.x PR to main with Mergify labels Aug 4, 2021
@kevinbackhouse kevinbackhouse added this to the v0.27.5 milestone Aug 4, 2021
@kevinbackhouse kevinbackhouse linked an issue Aug 4, 2021 that may be closed by this pull request
@kevinbackhouse kevinbackhouse merged commit 4f15518 into Exiv2:0.27-maintenance Aug 4, 2021
kevinbackhouse added a commit that referenced this pull request Aug 4, 2021
Use DataBuf rather than raw malloc in WebPImage::decodeChunks (backport #1842)
@kevinbackhouse kevinbackhouse deleted the FixIssue1841 branch August 11, 2021 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug forward-to-main Forward changes in a 0.28.x PR to main with Mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

memory leak in WebPImage::decodeChunks()
2 participants