From 23246df8dfdebe0002bf9abfa0a5490238300ad9 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 29 Jan 2018 20:11:11 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5805 --- coders/pnm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/pnm.c b/coders/pnm.c index 8184730f0..d72e14d53 100644 --- a/coders/pnm.c +++ b/coders/pnm.c @@ -428,6 +428,7 @@ static Image *ReadPNMImage(const ImageInfo *image_info,ExceptionInfo *exception) status=SetImageExtent(image,image->columns,image->rows,exception); if (status == MagickFalse) return(DestroyImageList(image)); + (void) SetImageBackgroundColor(image,exception); /* Convert PNM pixels to runextent-encoded MIFF packets. */ -- 2.40.0