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

--- Comment #4 from Simon Wagner <swag...@faw.at> ---
My goto example email contains sensitive information, which I can't share.

What I can share is the portion of the __properties_version1.0:
....
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
...

and the offical info from MS:
https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/08185828-e9e9-4ef2-bcd2-f6e69c00891b

This got fixed back in 2019 https://github.com/apache/poi/pull/143 but for some
reason the fix got "wrecked" by this commit
https://github.com/apache/poi/commit/2eee47406368fdcb016922aa0e6971b14926648f#diff-a987568b45a3a0bd3533ad69a9bf12d87b454008e43350b4eedfa31a4517fb60

It comes down to the fact, properties (which are included inside the
__properties_version1.0) cannot be longer than 8 bytes. Everything longer gets
stored in extra files. For the 2nd line above __substg1.0_80010048
So isFixedLength should be 
return (length != -1) && (length <= 8);
and NOT
return ((length != -1) && (length <= 8)) || (id == Types.CLS_ID.id);

I am really not sure what else I can provide. If you need more could you tell
me how to provide it to you?

-- 
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