[ 
https://issues.apache.org/jira/browse/COMPRESS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874038#action_12874038
 ] 

Sebb commented on COMPRESS-113:
-------------------------------

Just discovered that one also needs to allow for fields which are not in the 
original tar formats.
For example devmajor, devminor - these fields will be all null.

> TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing 
> the octal size
> --------------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-113
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-113
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Sebb
>             Fix For: 1.1
>
>
> TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing 
> the octal size.
> Although the size field in the header is 12 bytes, the last byte is supposed 
> to be space or NUL - i.e. only 11 octal digits are allowed for the size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to