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

TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the octal size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None

    Description

      TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the octal size.

      Although the size field in the header is 12 bytes, the last byte is supposed to be space or NUL - i.e. only 11 octal digits are allowed for the size.

      Attachments

        Activity

          People

            sebb Sebb
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: