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

Support blank uid/gid fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • Archivers

    Description

      I have found an ar file (it happens to be a .lib file) which has 6 ASCII spaces for both the UID and GID fields.

      This goes through ArArchiveInputStream.asInt which throws a NumberFormatException.

      I'm not sure what the correct behaviour is, but the 'ar' utility I have on hand shows 0/0 for uid/gid for the same file.

      Attachments

        1. jpl.lib.bz2
          3 kB
          Trejkaz
        2. COMPRESS-140.patch
          2 kB
          Trejkaz

        Activity

          People

            Unassigned Unassigned
            trejkaz Trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: