Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251329 (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside
  3. JDK-8271517

Release Note: Zip File System Provider Throws ZipException When Entry Name Element Contains "." or ".."

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 11.0.14-oracle, 17.0.2, 18
    • Fix Version/s: 18
    • Component/s: core-libs
    • Subcomponent:
    • Verification:
      Verified

      Backports

        Description

        The ZIP file system provider has been changed to reject existing ZIP files that contain entries with "." or ".." in name elements. ZIP files with these entries cannot be used as a file system. Invoking the `java.nio.file.FileSystems.newFileSystem(...)` methods throw `ZipException` if the ZIP file contains these entries.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lancea Lance Andersen
                Reporter:
                lancea Lance Andersen
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: