Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220072

GCC 8.3 reports errors in java.base

    XMLWordPrintable

    Details

    • Resolved In Build:
      b22

      Backports

        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));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dchuyko Dmitry Chuyko
                Reporter:
                dchuyko Dmitry Chuyko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: