]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 20 Jun 2010 19:21:48 +0000 (19:21 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 20 Jun 2010 19:21:48 +0000 (19:21 +0000)
ChangeLog
coders/dpx.c

index 048a2984a6fcc3d61c42cb78da5cf0df734ff664..f360152a6f9d3d6e965f2aeb5386afe76776de0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
   * Reduce memory requirements when dithering on the iPhone.
   * Command line operators no longer affected by settings that appear after
     them (e.g. -splice 10x0+0+0 -gravity center).
+  * Compute the proper DPX user data field size.
 
 2010-06-14  6.6.2-5 Anthony Thyssen <A.Thyssen@griffith...>
   * Fix transprancy handling for Morphology Convolve
index c0f2f5cd494804d27eda196ec062b7b36b010e52..5d0e5249d7ac669f7b97be43100707b96437c2c0 100644 (file)
@@ -985,7 +985,7 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception)
           StringInfo
             *profile;
 
-           profile=AcquireStringInfo(dpx.file.user_size);
+           profile=AcquireStringInfo(dpx.file.user_size-sizeof(dpx.user.id));
            offset+=ReadBlob(image,GetStringInfoLength(profile),
              GetStringInfoDatum(profile));
            (void) SetImageProfile(image,"dpx",profile);