npm@npm0:~/pdfium/pdfium/third_party/lcms$ git diff src/cmstypes.c diff --git a/third_party/lcms/src/cmstypes.c b/third_party/lcms/src/cmstypes.c index cb618600a..2a0ea9448 100644 --- a/third_party/lcms/src/cmstypes.c +++ b/third_party/lcms/src/cmstypes.c @@ -2966,7 +2966,7 @@ void *Type_ColorantTable_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER { cmsUInt32Number i, Count; cmsNAMEDCOLORLIST* List; - char Name[34]; + char Name[33]; cmsUInt16Number PCS[3]; @@ -2981,7 +2981,7 @@ void *Type_ColorantTable_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER for (i=0; i < Count; i++) { if (io ->Read(io, Name, 32, 1) != 1) goto Error; - Name[33] = 0; + Name[32] = 0; if (!_cmsReadUInt16Array(io, 3, PCS)) goto Error;