Page 1 of 1

Segfault on pinging corrupted ico

Posted: 2016-11-28T12:35:56-07:00
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 :( .

Re: Segfault on pinging corrupted ico

Posted: 2016-11-28T12:38:43-07:00
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.

Re: Segfault on pinging corrupted ico

Posted: 2016-11-28T12:53:08-07:00
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.

Re: Segfault on pinging corrupted ico

Posted: 2016-11-28T13:25:46-07:00
by snizovtsev
It seems latest versions from both 6x and 7x branches fixed this bug. Sorry!