-
Enhancement
-
Resolution: Fixed
-
P4
-
16
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8277541 | 15.0.6 | Dmitry Cherepanov | P4 | Resolved | Fixed | b03 |
JDK-8278418 | 13.0.10 | Olga Mikhaltcova | P4 | Resolved | Fixed | b04 |
JDK-8271957 | 11.0.13 | Christoph Langer | P4 | Resolved | Fixed | b02 |
src/jdk.jdwp.agent/share/native/libjdwp/log_messages.c:82:29: error: '%s' directive output may be truncated writing up to 56 bytes into a region of size between 52 and 76 [-Werror=format-truncation=]
[2020-10-08T21:31:22,174Z] 82 | "%s.%.3d %s", timestamp_date_time,
[2020-10-08T21:31:22,174Z] | ^~
[2020-10-08T21:31:22,174Z] 83 | (int)(millisecs), timestamp_timezone);
[2020-10-08T21:31:22,174Z] | ~~~~~~~~~~~~~~~~~~
src/jdk.jdwp.agent/share/native/libjdwp/log_messages.c:81:11: note: 'snprintf' output between 6 and 86 bytes into a destination of size 81
[2020-10-08T21:31:22,174Z] 81 | (void)snprintf(tbuf, ltbuf,
[2020-10-08T21:31:22,174Z] | ^~~~~~~~~~~~~~~~~~~~~
[2020-10-08T21:31:22,174Z] 82 | "%s.%.3d %s", timestamp_date_time,
[2020-10-08T21:31:22,174Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2020-10-08T21:31:22,174Z] 83 | (int)(millisecs), timestamp_timezone);
[2020-10-08T21:31:22,174Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- backported by
-
JDK-8271957 Linux 32 bit build doesn't compile libjdwp/log_messages.c
- Resolved
-
JDK-8277541 Linux 32 bit build doesn't compile libjdwp/log_messages.c
- Resolved
-
JDK-8278418 Linux 32 bit build doesn't compile libjdwp/log_messages.c
- Resolved
- relates to
-
JDK-8214854 JDWP: Unforseen output truncation in logging
- Resolved
-
JDK-8220070 Clean up GCC 8.3 errors
- Open
-
JDK-8255128 linux x86 build failure with libJNIPoint.c
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/1c77fa87
-
Commit openjdk/jdk13u-dev/2a8557a8
-
Commit openjdk/jdk15u-dev/b67a357b
-
Commit openjdk/jdk/0b7fba75
-
Review openjdk/jdk11u-dev/182
-
Review openjdk/jdk13u-dev/299
-
Review openjdk/jdk15u-dev/137
-
Review openjdk/jdk/1067