Menu

#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
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.