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

Reply via email to