]> granicus.if.org Git - imagemagick/commitdiff
Raise a warning instead of an error when the exception list limit has been reached.
authorDirk Lemstra <dirk@lemstra.org>
Fri, 11 Jan 2019 08:21:04 +0000 (09:21 +0100)
committerDirk Lemstra <dirk@lemstra.org>
Fri, 11 Jan 2019 08:22:22 +0000 (09:22 +0100)
MagickCore/exception.c

index 94a92d938b4a1d860c415cf34ef793500ae4c9aa..dcd960f0c2bba34bccff49546420118c8e8b2b29 100644 (file)
@@ -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);
 }
 \f