Possible uninitialized char* in vm_version_solaris_sparc.cpp

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: 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);


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

                Created:
                Updated:
                Resolved: