https://bz.apache.org/bugzilla/show_bug.cgi?id=66335

            Bug ID: 66335
           Summary: PtypGuid 0x0048 is a linked property but is read from
                    property file
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSMF
          Assignee: dev@poi.apache.org
          Reporter: swag...@faw.at
  Target Milestone: ---

The Type CLS_ID has a length of 16 bytes, however according to
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/08185828-e9e9-4ef2-bcd2-f6e69c00891b
0x0048 (PtypGuid) is not inside the properties stream itself.

Whenever there is a Type 0048 it screws up reading the properties after this.

for example:
....
0B 00 55 36 06 00 00 00 01 00 00 00 00 00 00 00 
48 00 01 80 06 00 00 00 10 00 00 00 03 00 00 00 
0B 00 45 36 06 00 00 00 01 00 00 00 00 00 00 00
...

line 1 - type is 00 0b with property 36 55 and flag 00 00 00 06 and the data 00
00 00 00 00 00 00 00
line 2 - type is 00 48 with property 06 80 and flag 00 00 00 06 and the data is
found in __substg1.0_80010048
line 3 - type is 00 0b with property 36 45 and flag 00 00 00 06 and the data 00
00 00 00 00 00 00 00

the current implementation reads 16 bytes for type 00 48, which reads half the
next line and screws up everything after that.

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

Reply via email to