From 107def2e6527f605f1108829dd850fa46bc65b62 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Wed, 9 Aug 2023 16:16:49 +0000 Subject: Bug 66425: Avoid a StackOverflowException found via oss-fuzz We try to avoid causing StackOverflow, but it was possible to trigger one here with a specially crafted input-file. This puts a limit on the number of nested children in place and logs a warning when the Stream is not fully parsed. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61256 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911577 13f79535-47bb-0310-9956-ffa450edef68 --- ...estcase-minimized-POIHDGFFuzzer-5947849161179136.vsd | Bin 0 -> 12310 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test-data/diagram/clusterfuzz-testcase-minimized-POIHDGFFuzzer-5947849161179136.vsd (limited to 'test-data/diagram') diff --git a/test-data/diagram/clusterfuzz-testcase-minimized-POIHDGFFuzzer-5947849161179136.vsd b/test-data/diagram/clusterfuzz-testcase-minimized-POIHDGFFuzzer-5947849161179136.vsd new file mode 100644 index 0000000000..801fd68342 Binary files /dev/null and b/test-data/diagram/clusterfuzz-testcase-minimized-POIHDGFFuzzer-5947849161179136.vsd differ -- cgit v1.2.3