commit | 018f07f7333b25743d0afff892450cebdb905c1a | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sun Sep 04 21:15:19 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sun Sep 04 21:15:19 2011 +0000 |
tree | 90e3c7b66aa1a4e4696dda745034e348fd41bb03 | |
parent | 433d11887841b922ec5e6805f9fdd240c320b92e [diff] [blame] |
diff --git a/coders/vicar.c b/coders/vicar.c index 840be5d..ddfcb73 100644 --- a/coders/vicar.c +++ b/coders/vicar.c
@@ -280,7 +280,7 @@ if ((image->columns == 0) || (image->rows == 0)) ThrowReaderException(CorruptImageError,"NegativeOrZeroImageSize"); image->depth=8; - if (AcquireImageColormap(image,256) == MagickFalse) + if (AcquireImageColormap(image,256,exception) == MagickFalse) ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); if (image_info->ping != MagickFalse) {