commit | efc30f28bcb7b65a32732606db5896998eb915d4 | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Mon Feb 05 08:21:49 2018 -0500 |
committer | Cristy <[email protected]> | Mon Feb 05 08:21:49 2018 -0500 |
tree | e1a017e31fa9d0fbc72422f3afb3623bf58d7ee0 | |
parent | 8a4029f19811aa91b0a19d63a29f69a27019e70c [diff] [blame] |
...
diff --git a/coders/dpx.c b/coders/dpx.c index e812666..734a818 100644 --- a/coders/dpx.c +++ b/coders/dpx.c
@@ -1116,7 +1116,8 @@ ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed"); offset+=ReadBlob(image,GetStringInfoLength(profile), GetStringInfoDatum(profile)); - (void) SetImageProfile(image,"dpx:user-data",profile,exception); + if (EOFBlob(image) != MagickFalse) + (void) SetImageProfile(image,"dpx:user-data",profile,exception); profile=DestroyStringInfo(profile); } }