From: Dirk Lemstra Date: Fri, 11 Jan 2019 08:21:04 +0000 (+0100) Subject: Raise a warning instead of an error when the exception list limit has been reached. X-Git-Tag: 7.0.8-24~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa144bbbefed3f2b0d6d9bcc785237797228bda;p=imagemagick Raise a warning instead of an error when the exception list limit has been reached. --- diff --git a/MagickCore/exception.c b/MagickCore/exception.c index 94a92d938..dcd960f0c 100644 --- a/MagickCore/exception.c +++ b/MagickCore/exception.c @@ -966,8 +966,9 @@ MagickExport MagickBooleanType ThrowException(ExceptionInfo *exception, } UnlockSemaphoreInfo(exception->semaphore); if (GetNumberOfElementsInLinkedList(exceptions) == MaxExceptionList) - (void) ThrowMagickException(exception,GetMagickModule(),ResourceLimitError, - "TooManyExceptions","(exception processing is suspended)"); + (void) ThrowMagickException(exception,GetMagickModule(), + ResourceLimitWarning,"TooManyExceptions", + "(exception processing is suspended)"); return(MagickTrue); }