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

TarArchiveInputStream fails to read entry with big user-id value

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 1.5, 1.6, 1.7
    • Fix Version/s: 1.8
    • Component/s: Compressors
    • Labels:

      Description

      Caused by: java.lang.IllegalArgumentException: Invalid byte 52 at offset 7 in '62410554' len=8
      at org.apache.commons.compress.archivers.tar.TarUtils.parseOctal(TarUtils.java:130)
      at org.apache.commons.compress.archivers.tar.TarUtils.parseOctalOrBinary(TarUtils.java:175)
      at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:953)
      at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:940)
      at org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:324)
      at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:247)
      ... 5 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              liwentong@cn-acg.com goodluck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified