diff --git a/coders/dpx.c b/coders/dpx.c
index 1af6f20..49cf443 100644
--- a/coders/dpx.c
+++ b/coders/dpx.c
@@ -985,7 +985,7 @@
           StringInfo
             *profile;
 
-           profile=AcquireStringInfo(dpx.file.user_size-sizeof(dpx.user.id));
+           profile=AcquireStringInfo(dpx.file.user_size);
            offset+=ReadBlob(image,GetStringInfoLength(profile),
              GetStringInfoDatum(profile));
            (void) SetImageProfile(image,"dpx",profile);