From 1490f4440beae0ff25e51ee9898e97e5d14265fe Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 15 Jul 2019 05:47:40 -0400 Subject: [PATCH] Reduce stack requirements --- MagickCore/blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/blob.c b/MagickCore/blob.c index d498addb7..829c99b3e 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -1105,7 +1105,7 @@ MagickExport MagickBooleanType DiscardBlobBytes(Image *image, count; unsigned char - buffer[MagickMinBufferExtent]; + buffer[MagickMinBufferExtent >> 1]; assert(image != (Image *) NULL); assert(image->signature == MagickCoreSignature); -- 2.40.0