From: Dirk Lemstra Date: Sat, 6 Jan 2018 12:34:19 +0000 (+0100) Subject: Fixed check for when the custom_stream was changed into a file. X-Git-Tag: 7.0.7-21~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfcdf5460081da145425a80fe9cc5ce6aa962192;p=imagemagick Fixed check for when the custom_stream was changed into a file. --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 372f47f0e..3fafc5998 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -766,7 +766,7 @@ MagickExport Image *CustomStreamToImage(const ImageInfo *image_info, } image=(Image *) NULL; if ((GetMagickBlobSupport(magick_info) != MagickFalse) || - (blob_info->custom_stream == (CustomStreamInfo *) NULL)) + (*blob_info->filename != '\0')) { char filename[MagickPathExtent];