summaryrefslogtreecommitdiff
path: root/third_party/lcms/src/cmsio0.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lcms/src/cmsio0.c')
-rw-r--r--third_party/lcms/src/cmsio0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/lcms/src/cmsio0.c b/third_party/lcms/src/cmsio0.c
index cc5f890644..63bbe36a83 100644
--- a/third_party/lcms/src/cmsio0.c
+++ b/third_party/lcms/src/cmsio0.c
@@ -1616,6 +1616,7 @@ void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)
_cmsTagSignature2String(String, sig);
cmsSignalError(Icc ->ContextID, cmsERROR_CORRUPTION_DETECTED, "'%s' Inconsistent number of items: expected %d, got %d",
String, TagDescriptor ->ElemCount, ElemCount);
+ goto Error;
}