For some PPT files, UnknowEscherRecord throws ArrayIndexOutOfBoundException at line 62 at a System.arraycopy. The bytesRemaining variable became really big for some files, so I guess it need a check to compare the bytesRemaining with the avaliabe bytes in data array.
Created attachment 25738 [details] File that has this exception This file has the ArrayOutOfBoundExceptioin, but it can be open by Office 2007 without problem.
Created attachment 25739 [details] Test code Test Java code to create a HSLFSlideShow instance and got the exception
Created attachment 25740 [details] Suggested patch Attached a suggest patch, if ok, I will open a new bug for check in.
Created attachment 25776 [details] Patch for UnknowEscherRecord with Unit test case Fix for the issue in UnknowEscherRecord with unit test cases.
Applied in r979747 Regards, Yegor