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

JVM_GetVersionInfo fails to zero structure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • b06

    Backports

      Description

        This is the same issue that had been fixed in jdk native code before (JDK-6989972).
        It appears that it still exists in hotspot:


        less ./share/vm/prims/jvm.cpp

        JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size))
        {
          memset(info, 0, sizeof(info_size));

        the last line should be
          memset(info, 0, info_size);

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                igerasim Ivan Gerasimov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: