From: Cristy Date: Thu, 12 Apr 2018 12:15:04 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-29~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47c7267c7056efcc40a7706777e895a28f798758;p=imagemagick ... --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 4645303c5..23fae2fde 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -97,6 +97,7 @@ #include "MagickCore/threshold.h" #include "MagickCore/timer.h" #include "MagickCore/token.h" +#include "MagickCore/token-private.h" #include "MagickCore/utility.h" #include "MagickCore/utility-private.h" #include "MagickCore/version.h" @@ -2799,7 +2800,7 @@ MagickExport MagickBooleanType SetImageInfo(ImageInfo *image_info, #endif image_info->affirm=MagickFalse; sans_exception=AcquireExceptionInfo(); - if ((*component != '\0') && (*component != '*')) + if ((*component != '\0') && (IsGlob(component) == MagickFalse)) { MagickFormatType format_type;