Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-658

Extra time data is added when the timestamp is the smallest data/time ZIP can handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.23.0
    • 1.26.0
    • Archivers
    • None

    Description

      Since COMPRESS-613, we add an 'extra time data' field when the ZIP entry timestamp is outside the range the DOS timestamp used in other parts of the header can handle.

      It currently incorrectly also adds this header when the ZIP entry timestamp is exactly the lowest possible timestamp expressable as a DOS timestamp.

      This has the consequence that, when reading a ZIP file with such entries and writing it back again, ZipEntry will 'invent' an 'extra time data' field where none is needed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              engelen Arnout Engelen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: