]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid Exceptions found via oss-fuzz
authorDominik Stadler <centic@apache.org>
Sat, 7 Oct 2023 22:12:25 +0000 (22:12 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 7 Oct 2023 22:12:25 +0000 (22:12 +0000)
commit6fae5bbc185301057913a800f14202be8d630cf2
tree38f796f7f630bc6b89ecae138e6999d0e20f4be7
parentc331c5d26a45a7c5bc1d8cc9030b939ead644f08
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing NullPointerExceptions or endless allocations,
but it was possible to trigger one here with a specially
crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62697

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912793 13f79535-47bb-0310-9956-ffa450edef68
poi/src/main/java/org/apache/poi/hssf/record/SSTDeserializer.java
poi/src/main/java/org/apache/poi/poifs/filesystem/DocumentInputStream.java
poi/src/test/java/org/apache/poi/hssf/dev/BaseTestIteratingXLS.java
poi/src/test/java/org/apache/poi/hssf/record/TestSSTDeserializer.java
test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4819588401201152.xls [new file with mode: 0644]
test-data/spreadsheet/stress.xls