Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/362
  • Loading branch information
Cristy committed Jan 26, 2017
1 parent 4a44cbd commit 51b0ae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/mat.c
Expand Up @@ -1123,6 +1123,7 @@ RestoreMSCWarning
BImgBuff = (unsigned char *) AcquireQuantumMemory((size_t) (ldblk),sizeof(double)); /* Ldblk was set in the check phase */
if (BImgBuff == NULL)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
(void) ResetMagickMemory(BImgBuff,0,ldblk*sizeof(double));

MinVal = 0;
MaxVal = 0;
Expand Down

0 comments on commit 51b0ae0

Please sign in to comment.