#876565 ImageMagick crashes (assertion failure) when opening a malformed image file

Package:
imagemagick-6.q16
Source:
imagemagick
Description:
image manipulation programs -- quantum depth Q16
Submitter:
Evgeny Kapun
Date:
2023-08-31 13:09:04 UTC
Severity:
normal
#876565#5
Date:
2017-09-23 20:03:34 UTC
From:
To:
An image that causes the crash is attached.

$ identify image.png
identify: ../../magick/quantum.c:216: DestroyQuantumInfo: Assertion `quantum_info != (QuantumInfo *) NULL' failed.
Aborted

#876565#10
Date:
2023-08-31 13:05:24 UTC
From:
To:
The file attached by Evgeny Kapun does not appear to crash identify any more.

$ identify image.png
image.png PNG 16x16 16x16+0+0 8-bit sRGB 1180B 0.000u 0:00.014

Possibly this bug has been fixed in the meantime.