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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: