#16 Fix LZW decompression for full code table

Unstable_(example)
closed
nobody
None
1
2014-05-15
2013-01-05
No

Version 4.1.6 and 4.2.1 do not decode this image correctly: http://ge.tt/15VJnNB/v/52

This is caused by the fact, that DGifDecompressLine() overwrites the last entry of the code table again and again in the case that the table is full.

The attached patch solves this issue and applies cleanly against both mentioned versions.

This issue was originally reported here:
https://github.com/muennich/sxiv/issues/75

1 Attachments

Discussion

  • Eric S. Raymond

    Eric S. Raymond - 2013-01-06
    • status: open --> accepted
     
  • Eric S. Raymond

    Eric S. Raymond - 2014-05-15
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks