https://issues.apache.org/bugzilla/show_bug.cgi?id=55490
Bug ID: 55490
Summary: OLE2 gets corrupted using BlockSize != 512
Product: POI
Version: 3.10-dev
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: POIFS
Assignee: [email protected]
Reporter: [email protected]
Created attachment 30769
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30769&action=edit
Simple empty MSI file with BigBlocks
We are developing a MSI reader/writer based upon POIFS. Using a x64 Windows 7
and WIX we create MSI files that can not be modified by POIFS.
The file can be created by using:
candle.exe minimal.wxs -o tmp.wixobj
light tmp.wixobj -pdbout tmp.wixpdb -o empty.msi
The resulting MSI is attached to this bug report. The testcase to create a
corrupt OLE2 document is rather simple:
FileInputStream istream = new FileInputStream("empty.msi");
FileOutputStream ostream = new FileOutputStream("empty2.msi");
new POIFSFileSystem(istream).writeFilesystem(ostream);
istream.close();
ostream.close();
We suspect that BigBlocks are the critical part.
Thanks in advance!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]