PJ Fanning
bc870ab764
[bug-67735] Add Complex scripts support in XWPFRun. Thanks to Mohammed Alhaddar. This closes #536
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912963 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
407bb3744c
Fix job "no-scratchpad" after adding some more broken test-data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912934 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
a227fa9443
integration-tests: Enable testing extracting for OPCFileHandler and fix single test
Enable running "extract" also for OPCFileHandler
Add additional expected failures in stress.xls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912933 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
638a9be903
Bug 66425: Avoid exceptions found via poi-fuzz
Fix one expected exception-text which is different
on newer Java versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912804 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
2276c3571d
Exception text changed for some file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912800 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
e670061518
Bug 66425: Avoid exceptions found via poi-fuzz
Fix check after commit fcaac50737
so that other IndexOutOfBoundsExceptions are still thrown out
Also free resources when throwing an exception in the constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912799 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
2bd84bf25c
Add some missing schema-files to ooxml-lite
This should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912798 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
e43c1bc911
Bug 66425: Avoid Exceptions found via oss-fuzz
We try to avoid throwing ConcurrentModificationException,
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=62861
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912797 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
5cd4fa5488
Bug 66425: Avoid Exceptions found via oss-fuzz
We try to avoid throwing ClassCastExceptions,
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=62795
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912796 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
eb11f3324f
Bug 66425: Avoid Exceptions found via oss-fuzz
We try to avoid throwing NullPointerExceptions or endless allocations,
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=62745
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912795 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
50b4da40b8
Bug 66425: Avoid Exceptions found via oss-fuzz
We try to avoid throwing NullPointerExceptions or endless allocations,
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=62706
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912794 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
6fae5bbc18
Bug 66425: Avoid Exceptions found via oss-fuzz
We try to avoid throwing NullPointerExceptions or endless allocations,
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=62697
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912793 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
c331c5d26a
Bug 66425: Avoid a NullPointerException found via oss-fuzz
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=62626
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912792 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
a42842841e
Add some missing schema-files to ooxml-lite
This should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912791 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
42651f6eda
add internal annotation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912727 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
e8e6f671ef
Assert that deleting test-files and entries works in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912709 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
a5b4a3504a
Adjust order of testing and use try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912708 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
Dominik Stadler
360c05d9e3
Bug 66425: Avoid exceptions found via poi-fuzz
We try to avoid throwing NullPointerException, ClassCastExceptions
and StackOverflowException, but it was possible to trigger them
Also improve some exception messages
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62698
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62606
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62685
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912707 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
105966cc29
[bug-67579] do not close stream when reading XSSFWorkbook based on stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912700 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
5d36e0c450
update gradlew
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912642 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
8814a4bfb9
commons-io 2.14.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912639 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
bbc98b5cd3
commons-io 2.14.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912638 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
505ac31533
commons-io 2.14.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912637 13f79535-47bb-0310-9956-ffa450edef68
8 months ago
PJ Fanning
e720c27b71
commons-io 2.14.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912635 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
8e20b5e9cd
change param name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912589 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
6c91c5f807
fix release artifact names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
fdad7e1408
[github-523] set locales for some tests. This closes #523
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912583 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
57e1f4b79e
update docs for release 5.2.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912581 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
d2ae0574e0
prep v5.2.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912467 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
c79fb75cbc
Bug 66425: Avoid exceptions found via poi-fuzz
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=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912464 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
a9aa91a9ed
[bug-67396] add tests for standalone flag
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912456 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Tim Allison
99117381e5
Bug47950 -- make stream/directory name lookup in OLE2 case insensitive
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912438 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
ce919673c4
Bug 66425: Avoid exceptions found via poi-fuzz
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=62530 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62491
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912433 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
857b96b2d3
Test without scratchpad: Do not fail reading data for integrationtests
It seems the XLS now has missing cells which cause an NPE
while checking for scratchpad-handlers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912407 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
e7cb6ef5b2
Set one file to IGNORE as IBM JDK throws a different Exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912406 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
54f8384f0a
Set one test-file to "IGNORED" in poi-integration
It was processing fine on some JVM versions, but failed with an error on others.
Seems there is a difference in XmlParsers across versions of the JVM.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912404 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
c32699c5b0
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
9 months ago
Dominik Stadler
88bbfbb3f7
Bug 66425: Avoid exceptions found via poi-fuzz
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
9 months ago
PJ Fanning
836512cc1f
update changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912373 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
4299690639
use files nio APIs in more places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912367 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
8514b659ae
[bug-67442] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912366 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
9e2ce70d2b
Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via 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
9 months ago
PJ Fanning
4b520ff7c5
use more nio file support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912316 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
4afcb281ce
[bug-67005] XSLFPictureShape - audio-related methods. Thanks to Max
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912315 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
3a6b91dd1f
[bug-67402] DATEVALUE function should return #VALUE! for a null or empty string argument. Thanks to Jakub Vojtisek.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912313 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
16a1e36018
missing header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912306 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
PJ Fanning
542daa2ab8
[bug-67396] StreamHelper does not set standalone=yes when built-in javax Transformer is used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912305 13f79535-47bb-0310-9956-ffa450edef68
9 months ago
Dominik Stadler
e9b860f6d4
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz
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
9 months ago
Dominik Stadler
cc4ccbae1d
Bug 66425: Avoid NullPointerExceptions found via poi-fuzz
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
9 months ago
Dominik Stadler
4b70989156
Bug 66425: Avoid a NullPointerException found via oss-fuzz
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
9 months ago