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

Certain tar files not recognised by ArchiveStreamFactory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: Archivers
    • Labels:
      None
    • Environment:

      MS Windows Vista, NetBeans IDE

      Description

      Certain tar files, like this one: http://leo.scruffohio.net/cgi-bin/uploads/lzma912.tar aren't being recognized by the ArchiveInputStream detector.

      I can open this tar file perfectly well with WinRAR and 7-zip. Neither of these complain. I can also open it with the command tar -xvf. However, I narrowed it down, and it turns out the TarArchiveInputStream.matches() is returning false, even though it is a valid tar file. This glitch should be fixed.

        Attachments

        1. lzma912.tar
          2.48 MB
          Leo Izen

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thebombzen Leo Izen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: