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

Improve bound checking in WebPImage::doWriteMetadata() #1577

Merged

Conversation

kevinbackhouse
Copy link
Collaborator

The reported crash was on line 279, but a lot of the code in this function looks vulnerable to overflows so I tried to fix all of it. This function is very similar to WebPImage::readMetadata(), which I worked on previously, so I was able to reuse a lot of the same snippets of code from last time.

@kevinbackhouse kevinbackhouse merged commit 735ac8c into Exiv2:0.27-maintenance Apr 20, 2021
@piponazo piponazo mentioned this pull request Apr 20, 2021
@hassec hassec added this to the v0.27.4 milestone May 21, 2021
@clanmills clanmills mentioned this pull request May 22, 2021
@kevinbackhouse kevinbackhouse deleted the fix-ghsa-5p8g-9xf3-gfrr branch September 18, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants