Menu

#63 malformed gif causes segfault in giffilter

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

The attached gif file will cause a segfault in giffilter. According to the address sanitizer output (will also attach that) this happens in line 115 of giffilter.c which is:
Extension[0],

So it seems Extension is accessed, but not allocated.

2 Attachments

Discussion

  • Eric S. Raymond

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

    Eric S. Raymond - 2015-01-31

    Fix pushed. The error retur is not very informative, but it is after all a malformed file. At least it doesb't crash.

     

Log in to post a comment.