https://issues.apache.org/bugzilla/show_bug.cgi?id=48085
--- Comment #4 from Leonhard Wimmer <[email protected]> 2009-10-29 09:14:22 UTC --- (In reply to comment #3) > This looks like a classic case of a malformed file causing an infinite > recursion error. I have some concerns that this is an example of a DOS attack > against any POI based spiders. > I do wonder how this file was created, was it a damaged file from a bad disk > or > a crash? I don't know how this file has been generated (I got it as bug report for a POI-enabled application). I don't think that it was maliciously generated. It looks to be like an XLS header with all nullbytes replaced with spaces. It' clearly invalid, but Apache POI normally throws a "normal" exception if used with invalid files and does not need huge amounts of memory. > I think this is a bug, but I don't think it has a high priority. I suggest > that > the OP put a try-catch around opening the workbook. I know that this is not > ideal. Thank you for the tip. This seems to at least avoid the complete crash of the application in this case. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
