diff options
author | Dominik Stadler <centic@apache.org> | 2024-07-18 07:09:32 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2024-07-18 07:09:32 +0000 |
commit | 0dea4a301c971c42ceaf0ed43cc6a3545026507e (patch) | |
tree | 7317833310a67bdf288fac2f901d364dbc600e65 /test-data | |
parent | 0dac5680c31bc7b2014ce6b76cabf91adc39a908 (diff) | |
download | poi-0dea4a301c971c42ceaf0ed43cc6a3545026507e.tar.gz poi-0dea4a301c971c42ceaf0ed43cc6a3545026507e.zip |
Bug 66425: Avoid exceptions found via poi-fuzz
Processing formats uses regular expressions. Very complex formats
can recurse very deeply and thus can cause StackOVerflows depending
on the used stack-size.
In order to handle this a bit more gracefully, we now catch this
and report a better exception with details about the parsed
format and potential mitigation.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66137
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919342 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test-data')
-rw-r--r-- | test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4657005060816896.xls | bin | 0 -> 66050 bytes |
-rw-r--r-- | test-data/spreadsheet/stress.xls | bin | 109568 -> 110080 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4657005060816896.xls b/test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4657005060816896.xls Binary files differnew file mode 100644 index 0000000000..baa032472e --- /dev/null +++ b/test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4657005060816896.xls diff --git a/test-data/spreadsheet/stress.xls b/test-data/spreadsheet/stress.xls Binary files differindex 124e07a16f..f4efb868ba 100644 --- a/test-data/spreadsheet/stress.xls +++ b/test-data/spreadsheet/stress.xls |