Improve ZipOutputSream validation of MAX CEN Header field limits

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 24
    • Affects Version/s: 8, 23
    • Component/s: core-libs

      ZipOutputStream should validate the CEN header fields similar to what was done via JDK-8316141

      As part of this change, the javadoc for ZipEntry should be updated to indicate that the CEN Header + entry name length + comment length + extra data length should not exceed 0xfffff.

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

              Created:
              Updated:
              Resolved: