Created attachment 38203 [details] 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.
thanks - merged with r1898208