]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Tue, 7 May 2019 18:01:53 +0000 (14:01 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Tue, 7 May 2019 18:01:53 +0000 (14:01 -0400)
MagickCore/utility.c

index 539154f77e4d7571f7cdd1076524d5aad5c1094b..f474d4644165ca7cd05735bf0108f94a3df52ce9 100644 (file)
@@ -813,7 +813,7 @@ MagickExport MagickBooleanType ExpandFilenames(int *number_arguments,
       continue;
     if ((IsGlob(filename) == MagickFalse) && (*option != '@'))
       continue;
-    if (*option != '@')
+    if ((*option != '@') && (IsPathAccessible(option) == MagickFalse))
       {
         /*
           Generate file list from wildcard filename (e.g. *.jpg).