From c64f0ed24d6d3d6fe186624a8149022ce3d687aa Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 12 Mar 2019 17:18:22 -0400 Subject: [PATCH] ... --- ChangeLog | 1 + coders/tiff.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4a1610c9..a1fc4b8cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2019-03-11 7.0.8-34 Cristy * Associate one lock with each resource. + * Report exception if opening TIFF did not work out. 2019-03-10 7.0.8-33 Cristy * Release ImageMagick version 7.0.8-33, GIT revision 15401:c805e3205:20190310 diff --git a/coders/tiff.c b/coders/tiff.c index 82df344e7..72abaf8dc 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1333,7 +1333,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info, { TIFFClose(tiff); image=DestroyImageList(image); - return (Image *) NULL; + return((Image *) NULL); } if (image_info->number_scenes != 0) { -- 2.40.0