GNOME Bugzilla – Bug 147576
Security flaw in GIF handler
Last modified: 2004-07-14 16:44:23 UTC
Trying to load the following picture : http://www.c9x.org/kaboomgif.gif from Gimp 2.0.2 causes an immediate crash, due to an excessive allocation of memory.
Is this supposed to be a valid GIF or is this something made to carsh web browsers?
The problem is not the GIF plug-in. The image claims to be 1x1 and contains a frame sized 560x697: * kaboomgif.gif 1 image logical screen 1x1 global color table [256] background 255 + image #0 560x697 comment {{{{{Powered by Cold Fusion and CFX_IMAGE\n This triggers the known bug in the layer preview code. Closing as duplicate. *** This bug has been marked as a duplicate of 142074 ***
Well, the crash is no doubt caused by the same problem responsible for 142074, but we don't really want to open this file as a 1x1 image, do we?
Why not? The header clearly declares it as 1x1. Why shouldn't we open it with this size? GIMP is an image manipulation program, not a web browser or image viewer. For these apps it might make sense to workaround such obviously wrong files but in GIMP we should open the file as is.