commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COMPRESS-184) PAX header parser fails for non-ASCII values
Date Fri, 23 Mar 2012 13:49:26 GMT

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

Stefan Bodewig resolved COMPRESS-184.
-------------------------------------

    Resolution: Fixed

fixed with svn revision 1304345
                
> PAX header parser fails for non-ASCII values
> --------------------------------------------
>
>                 Key: COMPRESS-184
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-184
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.3
>            Reporter: Stefan Bodewig
>            Assignee: Stefan Bodewig
>             Fix For: 1.4
>
>
> The current logic parsing PAX extension headers fails if the number of bytes used to
encode an entry is different from the number of characters - i.e. for any character outside
of the ASCII range as the headers are UTF-8 encoded.  E.g.
> {noformat}
> 11 path=รค
> {noformat}
> takes 11 bytes (one has to account for the trailing newline) for 10 characters and the
parser fails with "Expected 3 chars, read 2"

--
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

       

Mime
View raw message