You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Created) (JIRA)" <ji...@apache.org> on 2012/02/21 21:14:48 UTC

[jira] [Created] (COMPRESS-179) TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long

TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long
-------------------------------------------------------------------------------

                 Key: COMPRESS-179
                 URL: https://issues.apache.org/jira/browse/COMPRESS-179
             Project: Commons Compress
          Issue Type: Bug
            Reporter: Sebb


The TarUtils.formatLongOctalOrBinaryBytes method currently assumes that the field can hold 11 octal bytes.

This is not necessarily the case; the uid and gid fields (8 bytes) can potentially be encoded as binary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (COMPRESS-179) TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long

Posted by "Sebb (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMPRESS-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved COMPRESS-179.
---------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
    
> TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long
> -------------------------------------------------------------------------------
>
>                 Key: COMPRESS-179
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-179
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.4
>
>
> The TarUtils.formatLongOctalOrBinaryBytes method currently assumes that the field can hold 11 octal bytes.
> This is not necessarily the case; the uid and gid fields (8 bytes) can potentially be encoded as binary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira