Comment 2 for bug 346474

Revision history for this message
Brian Murray (brian-murray) wrote :

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.