From 650d06d71d602faa708c7d33045764a9f76b4ada Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 23 Jan 2018 10:37:41 -0500 Subject: [PATCH] ... --- MagickCore/quantum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/quantum.c b/MagickCore/quantum.c index 4f9f7663b..cfff6c5a7 100644 --- a/MagickCore/quantum.c +++ b/MagickCore/quantum.c @@ -181,7 +181,7 @@ static MagickBooleanType AcquireQuantumPixels(QuantumInfo *quantum_info, return(MagickFalse); } pixels=(unsigned char *) GetVirtualMemoryBlob(quantum_info->pixels[i]); - (void) ResetMagickMemory(pixels,0,(4*extent+1)*sizeof(*pixels)); + (void) ResetMagickMemory(pixels,0,4*(extent+1)*sizeof(*pixels)); pixels[4*extent]=QuantumSignature; } return(MagickTrue); -- 2.40.0