diff options
author | Dominik Stadler <centic@apache.org> | 2023-09-18 18:25:56 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2023-09-18 18:25:56 +0000 |
commit | c32699c5b01425950b094fcae7fa42a9a0ea1117 (patch) | |
tree | 487ff9e5dda174bbafac82466dd48cf1a5ca5e36 /poi-scratchpad | |
parent | 88bbfbb3f747e2f18768e928facf11712ab7b4c7 (diff) | |
download | poi-c32699c5b01425950b094fcae7fa42a9a0ea1117.tar.gz poi-c32699c5b01425950b094fcae7fa42a9a0ea1117.zip |
Adjust max recursion nesting
Otherwise this still triggered StackOverflow on some version of JDK
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java index 8cb7579621..2c061e0960 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java @@ -54,7 +54,7 @@ import org.w3c.dom.Element; public class WordToTextConverter extends AbstractWordConverter { private static final Logger LOG = LogManager.getLogger(WordToTextConverter.class); - private static final int MAX_NESTED_CHILD_NODES = 500; + private static final int MAX_NESTED_CHILD_NODES = 400; public static String getText( DirectoryNode root ) throws Exception { |