[ 
https://issues.apache.org/jira/browse/COMPRESS-514?focusedWorklogId=434261&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-434261
 ]

ASF GitHub Bot logged work on COMPRESS-514:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/May/20 21:55
            Start Date: 17/May/20 21:55
    Worklog Time Spent: 10m 
      Work Description: coveralls edited a comment on pull request #98:
URL: https://github.com/apache/commons-compress/pull/98#issuecomment-627008631


   
   [![Coverage 
Status](https://coveralls.io/builds/30846895/badge)](https://coveralls.io/builds/30846895)
   
   Coverage decreased (-0.08%) to 87.162% when pulling 
**54be6c4f5ae59b0d6174f36de6500496cdf5ea99 on akelday:COMPRESS-514-SevenZFile** 
into **a5ccbd6c55f8df73aa5c13f48aed8d363c722c3a on apache:master**.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 434261)
    Time Spent: 1h  (was: 50m)

> SevenZFile fails with encoded header over 2GiB
> ----------------------------------------------
>
>                 Key: COMPRESS-514
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-514
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.20
>            Reporter: A Kelday
>            Priority: Minor
>         Attachments: HeaderChannelBuffer.java
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When reading what some may call a large encrypted 7zip file (1.2TB with 22 
> million files), the read fails at the header stage with the trace below. Is 
> this within the spec? I've written some code to handle it, because I did 
> actually need to extract the file in java. If that's of any use I can provide 
> it (it's a naive wrapper that just pages in a buffer at a time).
>  
> {code:java}
> Exception in thread "main" java.io.IOException: Cannot handle 
> unpackSize2416988886
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.assertFitsIntoInt(SevenZFile.java:1523)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.readEncodedHeader(SevenZFile.java:622)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.initializeArchive(SevenZFile.java:532)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.readHeaders(SevenZFile.java:468)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:337)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:129)
> at 
> org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:116)
> {code}
> 7zip itself can also open it (and display/extract etc.), here are the stats:
>  
>  
> {code:java}
> Size: 2 489 903 580 875
> Packed Size: 1 349 110 308 832
> Folders: 40 005
> Files: 22 073 957
> CRC: E26F6A96
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to