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