https://issues.apache.org/bugzilla/show_bug.cgi?id=52372
--- Comment #7 from Jerome Lacoste <[email protected]> 2011-12-23 09:01:27 UTC --- > What we're not doing is sanity checking the number of properties > so if the file has been corrupted Just a question: are we sure the file is corrupted ? Word opens it properly with on both Windows and Mac. Also the place where the code tries to read the property size contains some text "Hewlett-Packard" > Are you able to check the Microsoft Documentation to see what the limit on the > number of properties in a section is? (That'd be an easy sanity check to do > first) http://msdn.microsoft.com/en-us/library/dd949336%28v=office.12%29.aspx I wasn't able to find a maximum number of properties. >From the .Doc structure format: http://msdn.microsoft.com/en-us/library/cc313153%28v=office.12%29.aspx Example of a section http://msdn.microsoft.com/en-us/library/dd907622%28v=office.12%29.aspx Property storage http://msdn.microsoft.com/en-us/library/dd949336%28v=office.12%29.aspx But we may be able to use a different limit. We know the document/buffer length. Surely there are at most (buffer length) / (min property length). -- 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]
