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

ZipEntry.setExtra interprets Info-ZIP Extended Timestamp as signed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • core-libs
    • None

      The interpretation of the Info-ZIP Extended Timestamp extra field needs to be checked. It's not documented in the ZIP file format spec but it stored by some tools as unsigned values from the Unix epoch. setExtra reads them as signed.

      (A test case with a timestamps beyond January 19, 2038 would help identify issues with this code).

            lancea Lance Andersen
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: