Blame SOURCES/rh1367357.patch

0f5aa1
diff --git a/src/share/native/sun/java2d/cmm/lcms/cmstypes.c b/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
0f5aa1
--- openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
0f5aa1
+++ openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
0f5aa1
@@ -1484,6 +1484,7 @@
0f5aa1
 
0f5aa1
         // Check for overflow
0f5aa1
         if (Offset < (SizeOfHeader + 8)) goto Error;
0f5aa1
+        if ((Offset + Len) > SizeOfTag + 8) goto Error;
0f5aa1
 
0f5aa1
         // True begin of the string
0f5aa1
         BeginOfThisString = Offset - SizeOfHeader - 8;