Segfault on pinging corrupted ico

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
snizovtsev
Posts: 3
Joined: 2016-11-28T12:26:33-07:00
Authentication code: 1151

Segfault on pinging corrupted ico

Post by snizovtsev »

Hello!

I will be terse: get this file http://www.decostroy.ru/favicon.ico (corrupted), try to do anything with ImageMagick on it and you will get segv :( .
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Segfault on pinging corrupted ico

Post by dlemstra »

Are you using the most recent version of ImageMagick? I am getting the following result:

Code: Select all

D:\>convert favicon.ico null:
convert: memory allocation failed `favicon.ico' @ error/icon.c/ReadICONImage/356.
convert: no images defined `null:' @ error/convert.c/ConvertImageCommand/3254.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
snizovtsev
Posts: 3
Joined: 2016-11-28T12:26:33-07:00
Authentication code: 1151

Re: Segfault on pinging corrupted ico

Post by snizovtsev »

Ubuntu 16.04 version

Code: Select all

convert --version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-10 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
I will try to build latest version from source.
snizovtsev
Posts: 3
Joined: 2016-11-28T12:26:33-07:00
Authentication code: 1151

Re: Segfault on pinging corrupted ico

Post by snizovtsev »

It seems latest versions from both 6x and 7x branches fixed this bug. Sorry!
Post Reply