summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-123-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=61390 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911615 13f79535-47bb-0310-9956-ffa450edef68
* Jenkins DSL: Adjust nodes for job Test-EnvironmentDominik Stadler2023-08-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911614 13f79535-47bb-0310-9956-ffa450edef68
* Jenkins DSL: Add JDK 20, 21 and 22, disable JDK 18 and 19, remove JDK 10, ↵Dominik Stadler2023-08-121-24/+32
| | | | | | 12, 13, 14 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911613 13f79535-47bb-0310-9956-ffa450edef68
* curvesapi 1.08PJ Fanning2023-08-112-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911604 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-113-3/+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=61372 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911603 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66855] Formula parser incorrectly handles sheet name containing ↵PJ Fanning2023-08-102-2/+16
| | | | | | multiple single quotes in a row. Thanks to Kirill lebedev. This closes #496 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911589 13f79535-47bb-0310-9956-ffa450edef68
* add check for number of files inside zipPJ Fanning2023-08-107-7/+270
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911588 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-103-23/+29
| | | | | | | | | 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=61330 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911586 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a NullPointerException found via oss-fuzzDominik Stadler2023-08-102-61/+51
| | | | | | | | Handle some data that can be missing properly. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61332 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911585 13f79535-47bb-0310-9956-ffa450edef68
* Jenkins DSL: Add JDK 20 and 21 to Test-Environment jobDominik Stadler2023-08-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911584 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a StackOverflowException found via oss-fuzzDominik Stadler2023-08-093-4/+21
| | | | | | | | | | | | 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
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-094-2/+7
| | | | | | | | | 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=61306 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911573 13f79535-47bb-0310-9956-ffa450edef68
* Try to adjust for strange null-message for ArrayIndexOutOfBoundsExceptionDominik Stadler2023-08-092-4/+9
| | | | | | | | | | Some CI runs seem to throw the exception with an empty message instead of the expected text. I could not reproduce this consistently and so we only can disable a check in this case. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911572 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-095-4/+9
| | | | | | | | | 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=61317 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911565 13f79535-47bb-0310-9956-ffa450edef68
* Combine steps for tasks "jenkins" and "jenkinsLite" in one placeDominik Stadler2023-08-091-17/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911564 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a StackOverflowException found via oss-fuzzDominik Stadler2023-08-095-8/+30
| | | | | | | | | | | | 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 properties in place and logs a warning when the StyleSheet is not fully parsed. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61252 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911563 13f79535-47bb-0310-9956-ffa450edef68
* Do not disable all files for poi-integration in build.gradleDominik Stadler2023-08-092-3/+12
| | | | | | | | | | It seems doing it this way can kick in even when using JDK 11+ due to the Gradle toolchain. Let's rather do a more specific exclusion in code to only exclude files which actually cause JDK 8 to hang. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911562 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-084-0/+5
| | | | | | | | | 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=61276 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911536 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Add memory-safeguard in one more placeDominik Stadler2023-08-075-7/+33
| | | | | | | | | | | | | | We try to generally avoid overly large allocations in places where arrays are allocated. We add one more such check for pictures in HSLF. We might need to increase the used value of 10MB if users report larger files being used frequently. Overriding this check via IOUtils is possible. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911525 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-076-37/+83
| | | | | | | | | 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=61266 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911523 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+3
| | | | | | Fix previous changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911522 13f79535-47bb-0310-9956-ffa450edef68
* use of junit internal StringUtils is causing build issuesPJ Fanning2023-08-071-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911519 13f79535-47bb-0310-9956-ffa450edef68
* use of junit internal StringUtils is causing build issuesPJ Fanning2023-08-071-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911518 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-074-8/+22
| | | | | | | | | | | 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=61259 Also fix handling of NullPointerException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911517 13f79535-47bb-0310-9956-ffa450edef68
* Reduce log4j2 level for integration tests to ERRORDominik Stadler2023-08-071-1/+1
| | | | | | | | Otherwise there is lots of output that is likely rarely useful. This can be changed locally for testing easily whenever necessary. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911516 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-077-10/+18
| | | | | | | | | | | 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=61242 Also enhance output of some test-failures and allow an empty exception message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911515 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid an AssertionError found via oss-fuzzDominik Stadler2023-08-075-1/+14
| | | | | | | | | We try to avoid throwing AssertionError to be triggered by input data, 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=61251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911514 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-076-21/+45
| | | | | | | | | 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=61243 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911507 13f79535-47bb-0310-9956-ffa450edef68
* Open configuration file for integration-tests read-only to not fail if the ↵Dominik Stadler2023-08-071-1/+1
| | | | | | file is opened by an Application locally git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911504 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-073-2/+2
| | | | | | Add exception details and fix expected exceptions to make tests run again git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911503 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-073-41/+45
| | | | | | | | | 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=61249 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911501 13f79535-47bb-0310-9956-ffa450edef68
* Fix expected exception text and print out which FileHandler failed in ↵Dominik Stadler2023-08-062-5/+6
| | | | | | integration-tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911495 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-064-346/+345
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Also rework test a bit to use try-with-resources and proper formatting Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61221 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911494 13f79535-47bb-0310-9956-ffa450edef68
* upgrade junitPJ Fanning2023-08-061-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911476 13f79535-47bb-0310-9956-ffa450edef68
* avoid creating enumeration twicePJ Fanning2023-08-052-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911470 13f79535-47bb-0310-9956-ffa450edef68
* upgrade com.dorongold.task-treePJ Fanning2023-08-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911469 13f79535-47bb-0310-9956-ffa450edef68
* add back gradle wrapper jar due to windows build issuesPJ Fanning2023-08-053-0/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911468 13f79535-47bb-0310-9956-ffa450edef68
* update jobsPJ Fanning2023-08-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911466 13f79535-47bb-0310-9956-ffa450edef68
* update jobsPJ Fanning2023-08-051-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911465 13f79535-47bb-0310-9956-ffa450edef68
* remove gradle-wrapper jar because it is against ASF policy to ship jars in ↵PJ Fanning2023-08-051-3/+0
| | | | | | source releases git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911464 13f79535-47bb-0310-9956-ffa450edef68
* remove gradle-wrapper jar because it is against ASF policy to ship jars in ↵PJ Fanning2023-08-050-0/+0
| | | | | | source releases git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911463 13f79535-47bb-0310-9956-ffa450edef68
* remove gradle-wrapper jar because it is against ASF policy to ship jars in ↵PJ Fanning2023-08-055-93/+101
| | | | | | source releases git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911462 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-054-9/+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=61162 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911459 13f79535-47bb-0310-9956-ffa450edef68
* Use interfaces for variables and reformat source-codeDominik Stadler2023-08-041-145/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911436 13f79535-47bb-0310-9956-ffa450edef68
* Use correct version for JUnit in Ant buildDominik Stadler2023-08-041-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911435 13f79535-47bb-0310-9956-ffa450edef68
* gradle-8.2.1PJ Fanning2023-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911428 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66827] treat VML drawing entry for a comment that has incorrect type of ↵PJ Fanning2023-08-022-2/+18
| | | | | | TEXT as invalid git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911407 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66827] add test case (that passes) - so issue is nor reproducedPJ Fanning2023-08-012-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911399 13f79535-47bb-0310-9956-ffa450edef68
* gradle hates ant 1.10.13PJ Fanning2023-08-014-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911398 13f79535-47bb-0310-9956-ffa450edef68
* Exclude some files in one test to avoid flakiness during parallel buildsDominik Stadler2023-08-011-1/+6
| | | | | | | This test failed once locally due to a temporary file being deleted again when the test tried to access it git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911384 13f79535-47bb-0310-9956-ffa450edef68