https://bz.apache.org/bugzilla/show_bug.cgi?id=65899
Bug ID: 65899
Summary: [PATCH] MAPIAttribute OutOfMemory caused by malformed
TNEF file
Product: POI
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HMEF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 38203
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38203&action=edit
Patch, updated test and sample tnef file
A file with invalid TNEF data caused server to crash with Out Of Memory error.
When MAPAttribute was parsing the file, The file that cause the problem
appeared to have a multivalue attribute with 873267203 values. Ran out of
memory trying to add these entries to the attrs array. MAPIAttribute was not
checking for error returns from IOUtils.readFully.
Including a small (53 byte) test file.
--
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]