From: Cristy Date: Fri, 1 Jun 2018 22:41:58 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-38~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4fb61f09e56f561090d1af753545b9f0c98a8ba;p=imagemagick ... --- diff --git a/coders/png.c b/coders/png.c index 647fbfa8a..7cf534a76 100644 --- a/coders/png.c +++ b/coders/png.c @@ -5609,7 +5609,7 @@ static Image *ReadOneMNGImage(MngInfo* mng_info, const ImageInfo *image_info, if (length != 0) repeat=p[0]; - if (repeat == 3 && length > 8) + if (repeat == 3 && length > 9) { final_delay=(png_uint_32) mng_get_long(&p[2]); mng_iterations=(png_uint_32) mng_get_long(&p[6]);