From 8ba4473477dce3ad6ba709cd81d4f1b43e03b980 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 10 Jul 2017 09:04:18 -0400 Subject: [PATCH] Change 17 to 16 in processing "change_clipping" of the MNG FRAM chunk --- coders/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/png.c b/coders/png.c index 37becf5c5..04730f47d 100644 --- a/coders/png.c +++ b/coders/png.c @@ -5801,7 +5801,7 @@ static Image *ReadOneMNGImage(MngInfo* mng_info, const ImageInfo *image_info, if (change_clipping && ((p-chunk) < (ssize_t) (length-16))) { fb=mng_read_box(previous_fb,(char) p[0],&p[1]); - p+=17; + p+=16; previous_fb=fb; if (logging != MagickFalse) -- 2.40.0