Thanks for taking the time to report this bug and including a patch too. I've tried recreating this on the Jackalope using package version 7:6.4.5.4.dfsg1-1ubuntu3 and was unable to. Looking at the source code of imagemagick it seems to have change a bit too:
if (max_value >= 65536)
ThrowReaderException(CorruptImageError,"ImproperImageHeader");
for (depth=1; GetQuantumRange(depth) < max_value; depth++) ;
image->depth=depth;
if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0))
if (image->scene >= (image_info->scene+image_info->number_scenes-1))
Since you wrote the patch, do you think this might resolve the bug? Thanks in advance.
Thanks for taking the time to report this bug and including a patch too. I've tried recreating this on the Jackalope using package version 7:6.4.5. 4.dfsg1- 1ubuntu3 and was unable to. Looking at the source code of imagemagick it seems to have change a bit too:
if (max_value >= 65536) erException( CorruptImageErr or,"ImproperIma geHeader" ); (depth) < max_value; depth++) ; >depth= depth; info->number_ scenes != 0)) info->scene+ image_info- >number_ scenes- 1))
ThrowRead
for (depth=1; GetQuantumRange
image-
if ((image_info->ping != MagickFalse) && (image_
if (image->scene >= (image_
Since you wrote the patch, do you think this might resolve the bug? Thanks in advance.