]> source.dussan.org Git - poi.git/commit
Limit allocated elements in the PlfLfo structure for word documents
authorDominik Stadler <centic@apache.org>
Thu, 6 Jan 2022 11:10:00 +0000 (11:10 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 6 Jan 2022 11:10:00 +0000 (11:10 +0000)
commit729d78cda69e489a40f33d8e6c0056c4f4758099
treeeed44e9f952bda2849de1bbfbde3a3f5f70238a9
parent71f063b465244bd954ea39883ced713a49dc1b67
Limit allocated elements in the PlfLfo structure for word documents

Use large allocation-detection here as well,
otherwise some documents can try to allocate too much memory.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896744 13f79535-47bb-0310-9956-ffa450edef68
poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlfLfo.java
poi-scratchpad/src/test/java/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java
test-data/document/Fuzzed.doc [new file with mode: 0644]
test-data/spreadsheet/stress.xls