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

        

Reply via email to