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

TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      The TarUtils.formatLongOctalOrBinaryBytes method currently assumes that the field can hold 11 octal bytes.

      This is not necessarily the case; the uid and gid fields (8 bytes) can potentially be encoded as binary.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: