-
Bug
-
Resolution: Fixed
-
P4
-
24, 25
-
b11
-
ppc, x86_64
-
linux
When using a gcc 13.2.0 devkit, the Linux builds (x86_64 and ppc64le) fail with warnings as errors in case that ubsan is enabled.
The 2 warnings as errors are about memset usages ; we see those issues with gcc 13.2 but did not see it with previously used gcc 11.
They only occur with ubsan enabled (seems the warnings change a bit in this case).
src/java.desktop/share/native/liblcms/cmsmd5.c:303:5: error: 'memset' offset [0, 7] is out of the bounds [0, 0] [-Werror=array-bounds=]
src/java.desktop/share/native/liblcms/cmsmd5.c:303:5: error: 'memset' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:144:10: error: 'memset' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object
The 2 warnings as errors are about memset usages ; we see those issues with gcc 13.2 but did not see it with previously used gcc 11.
They only occur with ubsan enabled (seems the warnings change a bit in this case).
src/java.desktop/share/native/liblcms/cmsmd5.c:303:5: error: 'memset' offset [0, 7] is out of the bounds [0, 0] [-Werror=array-bounds=]
src/java.desktop/share/native/liblcms/cmsmd5.c:303:5: error: 'memset' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:144:10: error: 'memset' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object
- links to
-
Commit(master) openjdk/jdk/5e9d72e2
-
Review(master) openjdk/jdk/23639