Description of problem: Giftext segfaults on certain Gif images: Jul 25 09:20:33 mail kernel: giftext[17225]: segfault at 0000000000000004 rip 0000000000401a8a rsp 00007fff1775e2f0 error 4 Jul 25 09:20:33 mail kernel: giftext[17240]: segfault at 0000000000000004 rip 0000000000401a8a rsp 00007fff5ec74800 error 4 Jul 25 12:28:21 mail kernel: giftext[23273]: segfault at 0000000000000004 rip 0000000000401a8a rsp 00007fff369f6580 error 4 Jul 25 12:42:54 mail kernel: giftext[28083]: segfault at 0000000000000004 rip 0000000000401a8a rsp 00007fffe80ce2c0 error 4 Version-Release number of selected component (if applicable): giflib-utils-4.1.3-7.1.el5.1
Could you please attach a sample failing gif?
Created attachment 159992 [details] Failing gif file Here you go.
Is this ever get fixed? This issue drives me crazy.
I found this patch on the internet: http://users.own- hero.net/~decoder/fuzzyocr/giftext-segfault.patch can someone can take a look if it could be included into the RedHat's RPM?
Still there in 5.1. Is anybody responsible for this bug is still here?
Created attachment 338515 [details] Upstream patch (extracted change from upstream 4.1.6) (In reply to comment #4) > I found this patch on the internet: http://users.own- > hero.net/~decoder/fuzzyocr/giftext-segfault.patch can someone can take a look > if it could be included into the RedHat's RPM? Should be this, which is a one-liner diff between 4.1.3 and 4.1.6. Fixes not exploitable NULL pointer dereference flaw.
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
*** Bug 244227 has been marked as a duplicate of this bug. ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, an attempt to use the giftext utility on a GIF file that does not store a global color map caused it to terminate unexpectedly with a segmentation fault. This update applies an upstream patch that resolves this issue, and giftext no longer crashes.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0398.html