Infinite loop

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
double
Posts: 14
Joined: 2009-10-25T10:12:06-07:00
Authentication code: 8675309

Infinite loop

Post by double »

Hello,

Identifing a MIFF file results in an infinite loop. The steps to
reproduce this issue:

Code: Select all

wget http://doppelbauer.name/infinite.gif
convert infinite.gif -coalesce -format MIFF infinite.miff
identify infinite.miff
ImageMagick 6.6.5-10 2010-11-22

Thanks a lot
Marcus
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Infinite loop

Post by el_supremo »

Identify also loops in 6.6.8-6 2011-03-21 Q16.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Infinite loop

Post by magick »

We have a patch for the problem you reported. Look for it in ImageMagick 6.6.9-5 Beta by sometime tomorrow. Thanks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Infinite loop

Post by anthony »

double wrote:

Code: Select all

wget http://doppelbauer.name/infinite.gif
convert infinite.gif -coalesce -format MIFF infinite.miff
identify infinite.miff
Aside from the bug and the patch! the -format MIFF in the above does nothing!

It makes sense for "mogrify" (as a image file format changer), but not for "convert" which uses -format for a different purpose. (and yes that can be a little confusing).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply