/[Apache-SVN]
ViewVC logotype

Revision 1919272


Jump to revision: Previous Next
Author: centic
Date: Tue Jul 16 05:26:42 2024 UTC (4 months ago)
Changed paths: 10
Log Message:
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible OutOfMemoryException with many child-records

This avoids having too many children in EscherRecords, the limit of
100_000 is arbitrarily chosen and can be adjusted if needed  

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62924 and maybe others

Changed paths

Path Details
Directorypoi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java modified , text changed
Directorypoi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java modified , text changed
Directorypoi/trunk/poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java modified , text changed
Directorypoi/trunk/poi/src/test/java/org/apache/poi/ddf/TestEscherContainerRecord.java modified , text changed
Directorypoi/trunk/poi/src/test/java/org/apache/poi/ddf/TestUnknownEscherRecord.java modified , text changed
Directorypoi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java modified , text changed
Directorypoi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestPPTXMLDump.java modified , text changed
Directorypoi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestSlideShowDumper.java modified , text changed
Directorypoi/trunk/test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-6614960949821440.ppt added
Directorypoi/trunk/test-data/spreadsheet/stress.xls modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26