From: cristy Date: Mon, 7 Mar 2011 00:06:07 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8019 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13264ba87e3564adeab39e5636831d201b26a8ed;p=imagemagick --- diff --git a/coders/hdr.c b/coders/hdr.c index 59bfd16d7..09d340619 100644 --- a/coders/hdr.c +++ b/coders/hdr.c @@ -337,7 +337,7 @@ static Image *ReadHDRImage(const ImageInfo *image_info,ExceptionInfo *exception) count=ReadBlob(image,4*sizeof(*pixel),pixel); if (count != 4) break; - if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns) + if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns) break; p=pixels; for (i=0; i < 4; i++)