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

Possible uninitialized char* in vm_version_solaris_sparc.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • b21
    • sparc
    • solaris

        In the file src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
        if kstat_open() fails here:

        414 // Otherwise use kstat to determine the machine type.
        415 kstat_ctl_t* kc = kstat_open();

        ..we may then use an uninitialized char* in the later assert:

        434 assert(impl_m != 0, "Unknown CPU implementation %s", impl);


              shshahma Shafi Ahmad (Inactive)
              kevinw Kevin Walls
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: