Skip to content

Commit 0b26995

Browse files
author
Cristy
committed
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23707
1 parent 37fcc96 commit 0b26995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magick/constitute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info,
863863
}
864864
read_info=DestroyImageInfo(read_info);
865865
if (GetBlobError(image) != MagickFalse)
866-
ThrowImageException(FileOpenError,"UnableToReadFile");
866+
ThrowReaderException(ThrowImageException,"UnableToReadImageData");
867867
return(GetFirstImageInList(image));
868868
}
869869

0 commit comments

Comments
 (0)