#64 malformed gif causes crash in giftool

v1.0_(example)
closed
nobody
None
1
2015-01-31
2015-01-29
Hanno Böck
No

Attached gif will crash giftool. According to address sanitizer this happens in giftool.c, line 561:
GifFileOut->SColorMap = GifMakeMapObject(
GifFileIn->SColorMap->ColorCount,
GifFileIn->SColorMap->Colors);

Will attach asan output. This was found with american fuzzy lop.

2 Attachments

Discussion

  • Eric S. Raymond

    Eric S. Raymond - 2015-01-31

    A simple sanity check in DGifSlurp fixed this one. Fix pushed to repo.

     
  • Eric S. Raymond

    Eric S. Raymond - 2015-01-31
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks