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

WITH_PLATFORM_STRING macro can cause crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: