From 6d6b41c50aa82550313fa2c06ca89096d27bc91b Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 19 Mar 2017 18:03:36 -0400 Subject: [PATCH] ... --- MagickCore/utility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/utility.c b/MagickCore/utility.c index 6fa0f5c52..06c345b80 100644 --- a/MagickCore/utility.c +++ b/MagickCore/utility.c @@ -1152,9 +1152,9 @@ MagickExport MagickBooleanType GetPathAttributes(const char *path, { MagickBooleanType status; - + if (path == (const char *) NULL) - { + { errno=EINVAL; return(MagickFalse); } -- 2.40.0