From: Cristy Date: Sun, 26 Aug 2018 17:51:53 +0000 (-0400) Subject: Advance past '{' of '{}' glob expression X-Git-Tag: 7.0.8-11~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d783cd6a37bf7cdd5e5fb5b6eb7ca6b87dde3ce;p=imagemagick Advance past '{' of '{}' glob expression --- diff --git a/MagickCore/token.c b/MagickCore/token.c index 2231890ec..412705af1 100644 --- a/MagickCore/token.c +++ b/MagickCore/token.c @@ -513,6 +513,7 @@ MagickExport MagickBooleanType GlobExpression(const char *expression, target=AcquireString(pattern); p=target; + pattern++; while ((GetUTFCode(pattern) != '}') && (GetUTFCode(pattern) != 0)) { *p++=(*pattern++);