poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60670] Fails to create document nodes in MSI files larger than 2 GB
Date Tue, 31 Jan 2017 09:08:25 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60670

--- Comment #2 from Marcus Lundblad <marcus.lundblad@primekey.se> ---
Right, missed that, sorry about that.

This is in a module in-development.
The code looks something like this:

final NPOIFSFileSystem fsOut =
                    new NPOIFSFileSystem(responseData.getAsFile(), false)) {
                // Add the signature file
fsOut.createDocument(new ByteArrayInputStream(signedbytes),
"\05DigitalSignature");

where the getAsFile() call would return a File instance pointing to the
resulting file (which is just a copy of the original file).
and the signedbytes is a byte array with the signature data (I don't think the
content should really matter in this case.

I could try to write a simple stand-alone program to expose the issue as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message