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

ZipEntry field validation does not take into account the size of a CEN header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • core-libs
    • None

      ZipEntry(String), ZipEntry::setComment, ZipEntry::setExtra validate the field size against 0xFFFF(65535) where as it should be against 0xFFD1(65489) taking into account the size of the CEN header which is 46 bytes

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

              Created:
              Updated:
              Resolved: