Details
-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 13
-
b22
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8304313 | 11.0.20-oracle | Fairoz Matte | P4 | Resolved | Fixed | b01 |
JDK-8230175 | 11.0.5 | Dmitry Chuyko | P4 | Resolved | Fixed | b05 |
JDK-8230530 | openjdk8u232 | Dmitry Chuyko | P4 | Resolved | Fixed | b05 |
Description
GCC 8.3 output:
src/java.base/unix/native/libjava/canonicalize_md.c:214:9: error: 'strncpy' specified bound 4097 equals destination size [-Werror=stringop-truncation]
strncpy(path, original, sizeof(path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/java.base/unix/native/libjava/canonicalize_md.c:214:9: error: 'strncpy' specified bound 4097 equals destination size [-Werror=stringop-truncation]
strncpy(path, original, sizeof(path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachments
Issue Links
- backported by
-
JDK-8230175 GCC 8.3 reports errors in java.base
-
- Resolved
-
-
JDK-8230530 GCC 8.3 reports errors in java.base
-
- Resolved
-
-
JDK-8304313 GCC 8.3 reports errors in java.base
-
- Resolved
-
- relates to
-
JDK-8220070 Clean up GCC 8.3 errors
-
- Open
-