Skip to content

Conversation

@Erik-White
Copy link

Prerequisites

  • [x ] I have written a descriptive pull-request title
  • [x ] I have verified that there are no overlapping pull-requests open
  • [x ] I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • [x ] I have provided test coverage for my change (where applicable)

Description

Closes #2883

It looks like the LZW decoder is missing a bounds check so if no clear code is read it will result in a buffer overread.

I think this fix makes sense, but I don't know if the resulting output is what is expected. It's probably difficult to know what the output should be if the file is truncated or corrupt.

@CLAassistant
Copy link

CLAassistant commented Feb 7, 2025

CLA assistant check
All committers have signed the CLA.

@Erik-White
Copy link
Author

I saw now that this is a duplicate of #2880

@Erik-White Erik-White closed this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AccessViolationException when opening GIF

2 participants