Page 1 of 1

Segmentation fault

Posted: 2011-11-18T05:27:05-07:00
by vladimir_ff
My app downloads and process a lot of images (millions). And I have problem with just one image.
Image URL: http://volnistiki.narod.ru/banner2.png
Piece of my code:

Code: Select all

Blob blob( imageData, size );
m_image->read( blob );
Result: SIGSEGV on second line.
P.S. IM was initialized properly.
P.P.S. Version: 6.7.3
P.P.P.S. This image is corrupted, but segmentation fault is not good behaviour i think.

Re: Segmentation fault

Posted: 2011-11-18T05:38:41-07:00
by magick
We can reproduce the problem and we'll get a patch into the next point release of ImageMagick to prevent the fault. Thanks.