Commit Graph

13169 Commits

Author SHA1 Message Date
Dominik Stadler 8507fdf371 Bug 66425: Avoid exceptions found via poi-fuzz
Prevent ClassCastException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63504

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914991 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:42 +00:00
Dominik Stadler 28811d26df Bug 66425: Avoid exceptions found via poi-fuzz
Prevent ClassCastException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63375

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914990 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:36 +00:00
Dominik Stadler 8e3b60f63d Bug 66425: Avoid exceptions found via poi-fuzz
Prevent StackOverflow via endless nesting

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65303

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914989 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:32 +00:00
Dominik Stadler c63cb1846c Add JDK 23 and disable JDK 19 and 20 as they are replaced by LTS-version JDK 21 now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914988 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:26 +00:00
Dominik Stadler e17f92ee3a Update JaCoCo to 0.8.11
This should make building with JDK 22 work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914987 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:24 +00:00
Dominik Stadler a9ca01e3fd Don't fail on JDK 21.0.1 if one signature check fails
See https://bugs.openjdk.org/browse/JDK-8320597 for the
related bug-report for the JDK itself

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914986 13f79535-47bb-0310-9956-ffa450edef68
2023-12-30 11:11:21 +00:00
PJ Fanning fb3f3ef26f log4j 2.22.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914954 13f79535-47bb-0310-9956-ffa450edef68
2023-12-27 14:04:34 +00:00
PJ Fanning 2f25c1ab90 [bug-68379] add signing support for classificationlabels
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914808 13f79535-47bb-0310-9956-ffa450edef68
2023-12-20 18:01:02 +00:00
PJ Fanning 7e5e9fcc62 try to javadoc more unsupported methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914791 13f79535-47bb-0310-9956-ffa450edef68
2023-12-20 08:14:13 +00:00
PJ Fanning c7324182ad try to javadoc more unsupported methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914785 13f79535-47bb-0310-9956-ffa450edef68
2023-12-19 20:27:49 +00:00
Dominik Stadler 53cfc2cc96 Allow all IndexOutOfBoundsException to have either empty message or some message
Newer JDKs add a more useful exception message, so we need to be a bit more
lenient for these in integration tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914708 13f79535-47bb-0310-9956-ffa450edef68
2023-12-16 12:09:02 +00:00
Dominik Stadler 399e99630c commons-compress is needed in ooxml-test for running tests via Ant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914707 13f79535-47bb-0310-9956-ffa450edef68
2023-12-16 12:08:57 +00:00
Dominik Stadler ffc4795258 Use revert() instead of close() when processing fails
Otherwise we might write partial changes to the
underlying file which is unexpected.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914706 13f79535-47bb-0310-9956-ffa450edef68
2023-12-16 12:08:54 +00:00
PJ Fanning 4b84986671 [bug-68305] extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914512 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 13:51:19 +00:00
PJ Fanning f662657db1 [bug-68305] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914511 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 13:30:59 +00:00
PJ Fanning 2c838143ba [GitHub-562] Add extra pivot table classes to poi-ooxml-lite. This closes #562
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914509 13f79535-47bb-0310-9956-ffa450edef68
2023-12-10 12:53:05 +00:00
PJ Fanning ecc42ac4f2 remove unused loggers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914434 13f79535-47bb-0310-9956-ffa450edef68
2023-12-07 14:04:02 +00:00
Dominik Stadler 6775bd259d Add new dependency pdfbox-io to Ant build
Otherwise CI job "old-xerces" fails.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914411 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 20:49:10 +00:00
Dominik Stadler d021e6bc5e Simplify handling of exceptions in ZipPackage
The code became overly complex and hard to reason about.

We can avoid some additional catching/rethrowing of exceptions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914409 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:51:19 +00:00
Dominik Stadler fd9300d3b7 Mark internal classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914408 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:50:06 +00:00
Dominik Stadler c8c8130ae3 Make sure OLE2ScratchpadExtractorFacory is sorted first
Otherwise order of found extractors would depend on jar-loading order
and thus might have unexpected side-effects and missing features in
text-extraction.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914407 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:50:02 +00:00
Dominik Stadler 497482d4dc Add one more xsb which is missing in one of my projects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914406 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:59 +00:00
Dominik Stadler 25e2d5ca69 Add more output for a failure that we saw once in CI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914405 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:56 +00:00
Dominik Stadler 15dd62d659 Bug 66425: Avoid exceptions found via poi-fuzz
Avoid a ClassCastException and trigger some more
code in integration-testing.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63358

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914404 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:52 +00:00
Dominik Stadler c7329fbd38 Bug 66425: Avoid exceptions found via poi-fuzz
Change an assertion which can be triggered via an
input-document.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63309

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914403 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:45 +00:00
Dominik Stadler f1589b8d66 Bug 66425: Avoid exceptions found via poi-fuzz
Add an xsb file to ooxml-lite which seems to be
missing in some cases

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63652

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914402 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:38 +00:00
Dominik Stadler 9fda604fb8 Bug 66425: Avoid exceptions found via poi-fuzz
Capture and report integer overflow as normal
parsing/format exceptions

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63628

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914401 13f79535-47bb-0310-9956-ffa450edef68
2023-12-06 19:49:34 +00:00
PJ Fanning e0b7dcda83 gradle 8.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914357 13f79535-47bb-0310-9956-ffa450edef68
2023-12-05 11:35:22 +00:00
PJ Fanning 6e3d031e80 pdfbox/graphics2d 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914298 13f79535-47bb-0310-9956-ffa450edef68
2023-12-03 10:41:36 +00:00
PJ Fanning 3f317f5b32 pdfbox/graphics2d 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914296 13f79535-47bb-0310-9956-ffa450edef68
2023-12-03 10:40:41 +00:00
PJ Fanning 5b246ca080 saxon 12.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914236 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 15:41:04 +00:00
PJ Fanning f40c8ccafb update github actions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914235 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 15:37:44 +00:00
PJ Fanning 3ab1c1a131 xmlsec stuck at 3.0.3 due to xmlsec 4 needing java 11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914230 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 09:26:03 +00:00
PJ Fanning 9e1e675fc3 try xmlsec 4.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914228 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 08:39:07 +00:00
PJ Fanning ba84383764 commons-io 2.15.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914225 13f79535-47bb-0310-9956-ffa450edef68
2023-11-30 08:29:37 +00:00
PJ Fanning 8690df1d28 log4j 2.22.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914154 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 11:09:38 +00:00
PJ Fanning 9c48dee4ea snapshot version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914153 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 10:11:54 +00:00
PJ Fanning bcb451a416 [bug-68237] SXSSFWorkbook: write as
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914152 13f79535-47bb-0310-9956-ffa450edef68
2023-11-27 10:08:16 +00:00
PJ Fanning b5da35ee4e poi 5.2.5 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914119 13f79535-47bb-0310-9956-ffa450edef68
2023-11-25 19:31:28 +00:00
PJ Fanning d81223cd10 deprecate unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914086 13f79535-47bb-0310-9956-ffa450edef68
2023-11-24 13:03:54 +00:00
PJ Fanning 5d2f053769 deprecate unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914084 13f79535-47bb-0310-9956-ffa450edef68
2023-11-24 11:07:44 +00:00
Dominik Stadler 9965dc74db Jenkins DSL: Capture artefacts for checksums and .pom as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913990 13f79535-47bb-0310-9956-ffa450edef68
2023-11-20 19:16:43 +00:00
PJ Fanning 386b2fcc78 try to fix compile issues due to commons-compress upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913865 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 22:15:24 +00:00
PJ Fanning e9710ead93 prep v5.2.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913863 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:52:47 +00:00
PJ Fanning 2d10477565 XMLBeans 5.2.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913860 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:46:45 +00:00
PJ Fanning 3d35361666 commons-compress 1.25.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913857 13f79535-47bb-0310-9956-ffa450edef68
2023-11-16 20:16:19 +00:00
PJ Fanning 04a4dd179b bouncycastle 1.77
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913806 13f79535-47bb-0310-9956-ffa450edef68
2023-11-15 15:02:09 +00:00
Dominik Stadler 676d0fdf3f Bug 68128: Exclude one broken file from the "No-Scratchpad" run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913797 13f79535-47bb-0310-9956-ffa450edef68
2023-11-15 10:32:59 +00:00
Dominik Stadler 219954c07c Close document always in SlideShowRecordDumper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913795 13f79535-47bb-0310-9956-ffa450edef68
2023-11-15 10:22:49 +00:00
PJ Fanning 3b03ed58e4 use xmlbeans 5.1.1 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913696 13f79535-47bb-0310-9956-ffa450edef68
2023-11-10 10:50:14 +00:00