{
png_destroy_read_struct(&ping,&ping_info,&end_info);
pixel_info=RelinquishVirtualMemory(pixel_info);
- image->colors=2;
+ if (AcquireImageColormap(image,2,exception) == MagickFalse)
+ ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
(void) SetImageBackgroundColor(image,exception);
#ifdef IMPNG_SETJMP_NOT_THREAD_SAFE
UnlockSemaphoreInfo(ping_semaphore);
MAGICK_VERSION=7.0.8-37
-MAGICK_GIT_REVISION=15465:d14ca1213:20190401
+MAGICK_GIT_REVISION=15466:323799794:20190403
# Substitute library versioning