File ImageMagick-CVE-2014-9850.patch of Package ImageMagick.8212

--- a/magick/resource.c
+++ b/magick/resource.c
@@ -1193,6 +1193,8 @@ MagickExport MagickBooleanType SetMagickResourceLimit(const ResourceType type,
           100.0));
       if (resource_info.throttle_limit > GetOpenMPMaximumThreads())
         resource_info.throttle_limit=GetOpenMPMaximumThreads();
+      else if (resource_info.thread_limit == 0)
+        resource_info.thread_limit=1;
       break;
     }
     case TimeResource: