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

[windows] VirtualQuery is used wrong in some places

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • OS:
      windows

      Description

      In a number of places VirtualQuery is used to analyze memory mappings, but the result is not checked correctly.

      Sometimes error handling is missing completely. Sometimes the caller does not check for the "MEM_FREE" State and accesses memory of MEMORY_INFORMATION_BASIC whose content is undefined.

        Attachments

          Activity

            People

            Assignee:
            stuefe Thomas Stuefe
            Reporter:
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: