Skip to content

GIF decoder can't handle zero-length extension blocks #1718

Closed

Description

@benrg

To reproduce:

>>> import io, PIL.Image
>>> PIL.Image.open(io.BytesIO(bytes.fromhex('47 49 46 38 39 61 01 00 01 00 80 00 00 FF FF FF 00 00 00 21 FE 00 2C 00 00 00 00 01 00 01 00 00 02 02 44 01 00 3B')))

Activity

  1. radarhere commented on Feb 5, 2016

    @radarhere
    Member

    I presume that this image is able to be redistributed as a image in the test suite under Pillow's license?

  2. radarhere commented on Feb 5, 2016

    @radarhere
    Member

    Just to post information here, an EOFError is being raised at

    raise EOFError

  3. radarhere commented on Nov 27, 2018

    @radarhere
    Member

    I have created PR #3479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions