]> granicus.if.org Git - imagemagick/commitdiff
Advance past '{' of '{}' glob expression
authorCristy <urban-warrior@imagemagick.org>
Sun, 26 Aug 2018 17:51:53 +0000 (13:51 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 26 Aug 2018 17:51:53 +0000 (13:51 -0400)
MagickCore/token.c

index 2231890ecd2545d04d24da4a3709befa1740016c..412705af1032cbcbd616523382e598dcd1c5f602 100644 (file)
@@ -513,6 +513,7 @@ MagickExport MagickBooleanType GlobExpression(const char *expression,
 
         target=AcquireString(pattern);
         p=target;
+        pattern++;
         while ((GetUTFCode(pattern) != '}') && (GetUTFCode(pattern) != 0))
         {
           *p++=(*pattern++);