poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55490] New: OLE2 gets corrupted using BlockSize != 512
Date Tue, 27 Aug 2013 19:57:40 GMT
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: dev@poi.apache.org
          Reporter: sebastian@opencollada.org

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message