dc4e79abbb
- updated to aarch64-jdk8u111-b16 (from aarch64-port/jdk8u) - updated to aarch64-shenandoah-jdk8u111-b16 (from aarch64-port/jdk8u-shenandoah) of hotspot - used aarch64-port-jdk8u-aarch64-jdk8u111-b16.tar.xz as new sources - used aarch64-port-jdk8u-shenandoah-aarch64-shenandoah-jdk8u111-b16.tar.xz as new sources for hotspot - adapted patches
12 lines
500 B
Diff
12 lines
500 B
Diff
diff --git a/src/share/native/sun/java2d/cmm/lcms/cmstypes.c b/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
|
|
--- openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
|
|
+++ openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/cmstypes.c
|
|
@@ -1484,6 +1484,7 @@
|
|
|
|
// Check for overflow
|
|
if (Offset < (SizeOfHeader + 8)) goto Error;
|
|
+ if ((Offset + Len) > SizeOfTag + 8) goto Error;
|
|
|
|
// True begin of the string
|
|
BeginOfThisString = Offset - SizeOfHeader - 8;
|