aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-09-1810-12/+35
| | | | | | | | | | We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912383 13f79535-47bb-0310-9956-ffa450edef68
* update changesPJ Fanning2023-09-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912373 13f79535-47bb-0310-9956-ffa450edef68
* use files nio APIs in more placesPJ Fanning2023-09-1730-71/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912367 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67442] add testPJ Fanning2023-09-172-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912366 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via ↵Dominik Stadler2023-09-1716-17/+91
| | | | | | | | | | | | | poi-fuzz We try to avoid throwing NullPointerException and ClassCastExceptions, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62414 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62442 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62450 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912365 13f79535-47bb-0310-9956-ffa450edef68
* use more nio file supportPJ Fanning2023-09-1422-74/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912316 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67005] XSLFPictureShape - audio-related methods. Thanks to MaxPJ Fanning2023-09-145-1/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912315 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67402] DATEVALUE function should return #VALUE! for a null or empty ↵PJ Fanning2023-09-142-46/+41
| | | | | | string argument. Thanks to Jakub Vojtisek. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912313 13f79535-47bb-0310-9956-ffa450edef68
* missing headerPJ Fanning2023-09-141-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912306 13f79535-47bb-0310-9956-ffa450edef68
* [bug-67396] StreamHelper does not set standalone=yes when built-in javax ↵PJ Fanning2023-09-142-3/+43
| | | | | | Transformer is used git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912305 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid NullPointerExceptions found via poi-fuzzDominik Stadler2023-09-142-1/+2
| | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912303 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid NullPointerExceptions found via poi-fuzzDominik Stadler2023-09-136-2/+17
| | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912281 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-132-1/+3
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Fixes https://oss-fuzz.com/testcase-detail/5265527465181184 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912277 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63934] Fix parsing of structure references. Thanks to Matthias ↵PJ Fanning2023-09-124-1/+51
| | | | | | Raschhofer. This closes #514 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912263 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-111-0/+0
| | | | | | Ignore results of one file because the Exception is different in Java 8 and Java 11 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912254 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-112-1/+5
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62225 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912253 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-114-4/+8
| | | | | | | | | We try to avoid throwing ClassCastException, 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=62170 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912252 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-113-2/+4
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62208 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912251 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-115-1/+17
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62216 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912250 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66828: Update Ant to 1.10.14Dominik Stadler2023-09-111-2/+2
| | | | | | | Now that adding the file allow.class was reverted, we should be able to update git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912249 13f79535-47bb-0310-9956-ffa450edef68
* commons-compress 1.24.0PJ Fanning2023-09-113-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912246 13f79535-47bb-0310-9956-ffa450edef68
* Adjust expected exception text for 47889.xlsxDominik Stadler2023-09-081-0/+0
| | | | | | The actual message depends on the version of Java git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912200 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-085-65/+35
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62128 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912199 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-083-1/+1
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62151 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912198 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-075-1/+25
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Also add SXSSFWorkbook.write() to integrationtests Fixes https://oss-fuzz.com/testcase-detail/5185049589579776 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912162 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-074-4/+12
| | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Fixes https://oss-fuzz.com/testcase-detail/4959857092198400 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912157 13f79535-47bb-0310-9956-ffa450edef68
* [GitHub-511] Prevent artificial row creation when reading XWPFTable. Thanks ↵PJ Fanning2023-09-069-11/+15
| | | | | | to Christian Appl. This closes #511 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912149 13f79535-47bb-0310-9956-ffa450edef68
* SparseBitSet 1.3PJ Fanning2023-09-066-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912141 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-062-2/+2
| | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912140 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-063-0/+3
| | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912139 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-063-4/+5
| | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912138 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-063-0/+3
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62059 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912127 13f79535-47bb-0310-9956-ffa450edef68
* Reduce flakiness of one test which compares two documentsDominik Stadler2023-09-061-0/+35
| | | | | | | | There are more places where a timestamp is stored in the zip-file, let's try to replace some more bytes to make comparison succeed more often. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912126 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-09-064-1/+5
| | | | | | | | | We try to avoid throwing NullPointerException, 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=62074 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912125 13f79535-47bb-0310-9956-ffa450edef68
* Exclude more broken files when running without poi-scratchpadDominik Stadler2023-09-061-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912123 13f79535-47bb-0310-9956-ffa450edef68
* Exclude more broken files when running without poi-scratchpadDominik Stadler2023-09-061-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912122 13f79535-47bb-0310-9956-ffa450edef68
* Revert PDFBox back to 2.0.x as 3.0.0 causes Java module errorsDominik Stadler2023-09-062-5/+5
| | | | | | | | Seems Batik conflicts with newer PDFBox in some way Error are like "module batik.xml reads package org.apache.pdfbox.multipdf from both de.rototor.pdfbox.graphics2d and org.apache.pdfbox" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912121 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.9PJ Fanning2023-09-046-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912088 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions, add tests, set unit-test to isolatedDominik Stadler2023-08-244-3/+13
| | | | | | | Without Isolation, one test did change static settings and thus could cause flaky tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911891 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-243-11/+8
| | | | | | | | | We try to avoid throwing NullPointerException, 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=61441 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911890 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-231-0/+0
| | | | | | ArrayIndexOutOfBoundsException has different message depending on JDK git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911864 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-233-1/+1
| | | | | | | | | We try to avoid throwing NullPointerException, 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=61520 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911863 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-234-2/+8
| | | | | | | | | We try to avoid throwing ClassCastException, 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=61578 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911860 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-222-1/+3
| | | | | | | | | We try to avoid throwing NullPointerException, 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=61644 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911842 13f79535-47bb-0310-9956-ffa450edef68
* batik 1.17PJ Fanning2023-08-212-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911828 13f79535-47bb-0310-9956-ffa450edef68
* change test broken by bug-66988 changePJ Fanning2023-08-182-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911755 13f79535-47bb-0310-9956-ffa450edef68
* gradle 8.3PJ Fanning2023-08-184-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911751 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66988] Fully replace content of XWPFTableCell on setText. Thanks to ↵PJ Fanning2023-08-183-0/+32
| | | | | | Anton Oellerer. This closes #503 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911749 13f79535-47bb-0310-9956-ffa450edef68
* gradle 8.2.1PJ Fanning2023-08-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911737 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-123-16/+21
| | | | | | | | | We try to avoid throwing ClassCastException, 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=61400 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911618 13f79535-47bb-0310-9956-ffa450edef68