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

Logging write function does not allow for long enough messages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • svc
    • b94

      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.

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

              Created:
              Updated:
              Resolved: