You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Trejkaz (JIRA)" <ji...@apache.org> on 2011/07/20 06:00:57 UTC

[jira] [Updated] (COMPRESS-140) Support blank uid/gid fields

     [ https://issues.apache.org/jira/browse/COMPRESS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trejkaz updated COMPRESS-140:
-----------------------------

    Attachment: jpl.lib.bz2

bzip2'd archive demonstrating the issue

> Support blank uid/gid fields 
> -----------------------------
>
>                 Key: COMPRESS-140
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-140
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>    Affects Versions: 1.1
>            Reporter: Trejkaz
>         Attachments: jpl.lib.bz2
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira