From: Cristy Date: Tue, 21 Feb 2017 17:46:40 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.5-1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1eb973c0b7a320562504e6525a20045c4e33dde;p=imagemagick ... --- diff --git a/coders/mpc.c b/coders/mpc.c index 6fd18486b..83ca2016e 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -850,7 +850,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Create image colormap. */ - if (AcquireImageColormap(image,image->colors) == MagickFalse) + if (AcquireImageColormap(image,image->colors,exception) == MagickFalse) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); if (image->colors != 0) {