PJ Fanning
1a7f446d87
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_5_2_4@1912579 13f79535-47bb-0310-9956-ffa450edef68
преди 8 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
PJ Fanning
836512cc1f
update changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912373 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
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 месеца
PJ Fanning
16a1e36018
missing header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912306 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
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 месеца
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 месеца
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 месеца
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 месеца
PJ Fanning
ca681fd706
[bug-63934] Fix parsing of structure references. Thanks to Matthias Raschhofer. This closes #514
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912263 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
e94297bb64
Bug 66425: Avoid a NullPointerException found via oss-fuzz
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
преди 9 месеца
Dominik Stadler
cc9d1c7c70
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=62225
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912253 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
481c00bc6f
Bug 66425: Avoid a ClassCastException found via oss-fuzz
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
преди 9 месеца
Dominik Stadler
e666d3756e
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=62208
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912251 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
dbd8808432
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=62216
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912250 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
482f4ca30d
Bug 66828: Update Ant to 1.10.14
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
преди 9 месеца
PJ Fanning
67112540b9
commons-compress 1.24.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912246 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
d7884a4e0f
Adjust expected exception text for 47889.xlsx
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
преди 9 месеца
Dominik Stadler
5cb768379d
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=62128
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912199 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
f90415ef0e
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=62151
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912198 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
e686e84512
Bug 66425: Avoid a ClassCastException found via oss-fuzz
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
преди 9 месеца
Dominik Stadler
5c2a89412b
Bug 66425: Avoid a ClassCastException found via oss-fuzz
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
преди 9 месеца
PJ Fanning
40cdc76f63
[GitHub-511] Prevent artificial row creation when reading XWPFTable. Thanks to Christian Appl. This closes #511
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912149 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
PJ Fanning
9821182d57
SparseBitSet 1.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912141 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
aad473eaca
Bug 66425: Avoid a ClassCastException found via oss-fuzz
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
преди 9 месеца
Dominik Stadler
5d073e3586
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
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912139 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
24bf8c33f2
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
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912138 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
b801711afe
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=62059
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912127 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
04ae3b4441
Reduce flakiness of one test which compares two documents
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
преди 9 месеца
Dominik Stadler
4b03c24ec8
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=62074
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912125 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
35901849f1
Exclude more broken files when running without poi-scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912123 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
186e91790a
Exclude more broken files when running without poi-scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912122 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
9f4c5b8e45
Revert PDFBox back to 2.0.x as 3.0.0 causes Java module errors
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
преди 9 месеца
PJ Fanning
9c0c9ac8e4
slf4j 2.0.9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912088 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца
Dominik Stadler
2999073715
Apply some IDE suggestions, add tests, set unit-test to isolated
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
преди 9 месеца
Dominik Stadler
cdb2ba1398
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=61441
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911890 13f79535-47bb-0310-9956-ffa450edef68
преди 9 месеца