WITH_PLATFORM_STRING macro can cause crash

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • None
    • sparc
    • solaris_2.6

      The WITH_PLATFORM_STRING macro in src/share/native/java/io/io_util.h
      does not initialize the var variable to zero. When the string supplied
      to operate on is null, the macro skips to the end and free()s var, which
      could be in an indeterminate state.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: