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

Logging write function does not allow for long enough messages

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      svc
    • Resolved In Build:
      b94

      Description

      In logging/log.hpp, the logging vwrite function asserts that the buffer remains within 512 characters, which is too short for logging message of non-pre-determined length, e.g. for vtable and itable function names. Instead, the code should resize the buffer to the appropriate length, asserting only that the resulting buffer is valid.

        Attachments

          Activity

            People

            • Assignee:
              rprotacio Rachel Protacio (Inactive)
              Reporter:
              rprotacio Rachel Protacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: