You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/02/18 21:43:51 UTC
[Bug 65899] New: [PATCH] MAPIAttribute OutOfMemory caused by malformed TNEF file
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: dev@poi.apache.org
Reporter: craig.haft@yahooinc.com
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 65899] [PATCH] MAPIAttribute OutOfMemory caused by malformed TNEF file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65899
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
thanks - merged with r1898208
--
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