]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid exceptions found via poi-fuzz
authorDominik Stadler <centic@apache.org>
Mon, 15 Jul 2024 13:02:43 +0000 (13:02 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 15 Jul 2024 13:02:43 +0000 (13:02 +0000)
commit2582e5e0c18026c88b882829254241a9acc6f45f
tree02695a279174db768ff61b9832cd18db58b9d6de
parent719e7154a19c00e1c2464e5f93a1567d8ca5ed72
Bug 66425: Avoid exceptions found via poi-fuzz

Avoid a possible StackOverflowException

This adds support of counting of the "nesting level" into the base
EscherRecord and thus makes this existing limitation much more effective
as it kicks in for more types of nested records.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66374

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919256 13f79535-47bb-0310-9956-ffa450edef68
poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java
poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java
test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-6192650357112832.ppt [new file with mode: 0644]
test-data/spreadsheet/stress.xls