• Paul Eggert's avatar
    Minor ImageMagick safety fixes. · 0e142329
    Paul Eggert authored
    * image.c (imagemagick_compute_animated_image):
    Remove useless assignment to local.  Avoid problems if dest_width is 0.
    (imagemagick_load_image): Use int for pixel counts that can't
    exceed INT_MAX.  Avoid problem if PixelGetNextIteratorRow returns
    a row width greater than the image width (or greater than LONG_MAX!).
    0e142329
ChangeLog 463 KB