From 18df5773b5efbd2c9dc54c9caa021febf486bd22 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 19 Dec 2018 08:24:11 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11930 --- coders/caption.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/caption.c b/coders/caption.c index cb55c12b6..93900b2c3 100644 --- a/coders/caption.c +++ b/coders/caption.c @@ -134,6 +134,7 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info, assert(exception != (ExceptionInfo *) NULL); assert(exception->signature == MagickCoreSignature); image=AcquireImage(image_info,exception); + (void) ResetImagePixels(image,exception); (void) ResetImagePage(image,"0x0+0+0"); /* Format caption. -- 2.40.0