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

Native handle leak in java.io.WinNTFileSystem.list()

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • OS:
      windows
    • Verification:
      Not verified

      Backports

        Description

        File: src/java.base/windows/native/libjava/WinNTFileSystem_md.c

        In function Java_java_io_WinNTFileSystem_list if memory allocation fails, the native handle obtained via FindFirstFileW() may not be released.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igerasim Ivan Gerasimov
                  Reporter:
                  igerasim Ivan Gerasimov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: