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

Support blank uid/gid fields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: Archivers
    • Labels:

      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. COMPRESS-140.patch
          2 kB
          Trejkaz
        2. jpl.lib.bz2
          3 kB
          Trejkaz

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: