Blame SOURCES/0002-1303227-fix-exr-crash.patch

b9cf19
diff -up ImageMagick-6.7.8-9/coders/exr.c.exr-crash ImageMagick-6.7.8-9/coders/exr.c
b9cf19
--- ImageMagick-6.7.8-9/coders/exr.c.exr-crash	2016-02-02 16:47:39.442691507 +0100
b9cf19
+++ ImageMagick-6.7.8-9/coders/exr.c	2016-02-02 16:48:41.241648194 +0100
b9cf19
@@ -195,7 +195,7 @@ static Image *ReadEXRImage(const ImageIn
b9cf19
       return((Image *) NULL);
b9cf19
     }
b9cf19
   hdr_info=ImfInputHeader(file);
b9cf19
-  ImfHeaderDisplayWindow(hdr_info,&min_x,&min_y,&max_x,&max_y);
b9cf19
+  ImfHeaderDataWindow(hdr_info,&min_x,&min_y,&max_x,&max_y);
b9cf19
   image->columns=max_x-min_x+1UL;
b9cf19
   image->rows=max_y-min_y+1UL;
b9cf19
   image->matte=MagickTrue;