Skip to content

Conversation

@wiredfool
Copy link
Member

FliDecode.c had a check in the head of the frame where it was checking a variable against the value that was just set.

This updates the check to check the bytes in the buffer vs the framesize.

Note that there are potentially single bytes of padding, such that all the sizes should be even. This isn't necessarily reflected in the file size (e.g. hopper.fli) especially on the last chunk.

@wiredfool wiredfool changed the title Actually check the framesize in FliDecode. Actually check the framesize in FliDecode.c Aug 8, 2021
@hugovk hugovk merged commit 65b5f91 into python-pillow:master Sep 5, 2021
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.

2 participants