Details
-
Bug
-
Resolution: Fixed
-
P4
-
17, 18
-
b19
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8275088 | 17.0.2 | Jie Fu | P4 | Resolved | Fixed | b03 |
JDK-8305357 | 11.0.20-oracle | Fairoz Matte | P4 | Resolved | Fixed | b01 |
JDK-8292819 | 11.0.17 | Paul Hohensee | P4 | Resolved | Fixed | b04 |
Description
In file included from /usr/include/string.h:495,
from /home/jdk/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:35,
from /home/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:35,
from /home/jdk/src/hotspot/share/memory/allocation.hpp:29,
from /home/jdk/test/hotspot/gtest/memory/test_guardedMemory.cpp:25:
In function 'void* memset(void*, int, size_t)',
inlined from 'virtual void GuardedMemory_buffer_overrun_tail_Test::TestBody()' at /home/jdk/test/hotspot/gtest/memory/test_guardedMemory.cpp:125:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:33: error: 'void* __builtin_memset(void*, int, long unsigned int)' writing between 2 and 262144 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Attachments
Issue Links
- backported by
-
JDK-8275088 gtest build failure due to stringop-overflow warning with gcc11
- Resolved
-
JDK-8292819 gtest build failure due to stringop-overflow warning with gcc11
- Resolved
-
JDK-8305357 gtest build failure due to stringop-overflow warning with gcc11
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/e0d592b9
-
Commit openjdk/jdk17u/c5a871cd
-
Commit openjdk/jdk/c55dd365
-
Review openjdk/jdk11u-dev/1333
-
Review openjdk/jdk17u/181
-
Review openjdk/jdk/5881