Dominik Stadler
57d746827f
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=61162
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911459 13f79535-47bb-0310-9956-ffa450edef68
2023-08-05 12:13:13 +00:00
PJ Fanning
273067b103
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
2023-06-28 11:55:29 +00:00
PJ Fanning
99634d6af6
apply some spelling fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910627 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 11:48:38 +00:00
Dominik Stadler
d3e35e740a
Remove deprecation warnings reported with newer commons-io
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:53:08 +00:00
PJ Fanning
5fb90fdcce
remove temporary hacks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908529 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 20:40:14 +00:00
PJ Fanning
17899fc75b
temporary hack to build to see if the gradle toolchain logic is what is breaking all our https://ci-builds.apache.org/ builds for Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908515 13f79535-47bb-0310-9956-ffa450edef68
2023-03-19 13:17:53 +00:00
PJ Fanning
27344ca661
use 'an'
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 11:35:26 +00:00
Dominik Stadler
b8cc997cd0
Bug 66521: Add a utility to clear all thread locals
...
Otherwise some applications may complain about left-over things,
e.g. Tomcat sometimes reports warning logs if Threads are not
cleaned up before being passed back into the global thread-pool.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908263 13f79535-47bb-0310-9956-ffa450edef68
2023-03-11 06:49:12 +00:00
Dominik Stadler
5b84aae94c
Update/fix JavaDoc and add "throws"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908240 13f79535-47bb-0310-9956-ffa450edef68
2023-03-10 08:08:16 +00:00
PJ Fanning
aa9069c7df
[bug-66518] license header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908193 13f79535-47bb-0310-9956-ffa450edef68
2023-03-08 11:30:58 +00:00
PJ Fanning
dcc66fde79
[bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908192 13f79535-47bb-0310-9956-ffa450edef68
2023-03-08 11:04:59 +00:00
PJ Fanning
9a181c1a2d
[bug-66518] fix issue in AbstractExcelUtils.getColor(HSSFColor)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908191 13f79535-47bb-0310-9956-ffa450edef68
2023-03-08 11:03:19 +00:00
PJ Fanning
2f2e61311a
add test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908190 13f79535-47bb-0310-9956-ffa450edef68
2023-03-08 10:57:31 +00:00
PJ Fanning
729e012804
try to fix gradle issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68
2023-02-22 20:08:44 +00:00
PJ Fanning
d07d8e42b9
revert use of ExceptionUtil on caught exceptions (not useful)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:03:26 +00:00
PJ Fanning
3968e289e4
fix up use of ExceptionUtil in main poi-scratchpad module
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907652 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 14:51:27 +00:00
Dominik Stadler
c8c06d1ec0
Saxon-HE is included in more place, combine these into the main gradle build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906427 13f79535-47bb-0310-9956-ffa450edef68
2023-01-06 19:58:45 +00:00
Dominik Stadler
1ff1e84e4a
Avoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI
...
This mostly only makes thrown runtime-exceptions a bit more consistent and
improves information in exceptions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906360 13f79535-47bb-0310-9956-ffa450edef68
2023-01-03 19:52:03 +00:00
Dominik Stadler
49526667ab
Change more assertions to proper checks
...
A broken input-document should not trigger assertions,
but proper exceptions with useful information for the user
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906327 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:48 +00:00
Dominik Stadler
059283c9e6
Prevent more cases of unbounded allocation
...
Test WordToTextConverter with all sample files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906326 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:44 +00:00
Dominik Stadler
5724a77cf2
Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI
...
This mostly only makes thrown exceptions a bit more consistent
or may allow some broken documents to be still read.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906322 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:32 +00:00
PJ Fanning
37994bf3e2
[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906248 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 17:45:21 +00:00
PJ Fanning
78516f50dc
try to get rid of cached module-info classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
2022-12-27 18:45:15 +00:00
PJ Fanning
5e212e4a33
doesn't matter what jdk vendor is used to build module-info classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906212 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 10:05:10 +00:00
PJ Fanning
8898d2d15a
try to fix build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906208 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 00:24:29 +00:00
PJ Fanning
edee60d87a
rebuild module-info.class files even if Java8 used
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906207 13f79535-47bb-0310-9956-ffa450edef68
2022-12-25 23:56:32 +00:00
PJ Fanning
1494812da8
try to build sboms
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906146 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 17:52:29 +00:00
PJ Fanning
b8d4597ea4
cyclonedx per module
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906134 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 11:23:43 +00:00
PJ Fanning
a0abaf205a
license issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905063 13f79535-47bb-0310-9956-ffa450edef68
2022-11-04 09:44:37 +00:00
PJ Fanning
c838c6cd6c
[bug-66335] apply rest of fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905062 13f79535-47bb-0310-9956-ffa450edef68
2022-11-04 09:13:05 +00:00
PJ Fanning
c4a0266cb3
[bug-66335] add test case for issue and add some of the code from purported fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905061 13f79535-47bb-0310-9956-ffa450edef68
2022-11-04 08:33:38 +00:00
PJ Fanning
52968d92da
update javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905029 13f79535-47bb-0310-9956-ffa450edef68
2022-11-02 19:26:57 +00:00
PJ Fanning
933948a846
[bug-66301] Add a method to properly write the header necessary for a MSG attachment. Thanks to Lyn Evans.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904685 13f79535-47bb-0310-9956-ffa450edef68
2022-10-18 19:10:32 +00:00
PJ Fanning
6e7f6dad21
try to use IllegalStateException instead of RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904065 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 09:54:24 +00:00
PJ Fanning
7235ff9036
try to use IllegalStateException instead of RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904051 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 01:32:10 +00:00
PJ Fanning
59b16f025b
try to use IllegalStateException instead of RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904050 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 01:12:38 +00:00
PJ Fanning
34601b5377
some lgtm issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904048 13f79535-47bb-0310-9956-ffa450edef68
2022-09-13 23:38:12 +00:00
PJ Fanning
913d1eecf5
[bug-63576] support capitalized text in WordExtractor (HWPF)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903738 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 14:16:01 +00:00
PJ Fanning
deffaacd0f
sonar issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 18:52:27 +00:00
PJ Fanning
03a39fd9dc
more int narrowing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903562 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 09:31:14 +00:00
PJ Fanning
9d7d2f26e0
more int narrowing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903560 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 09:02:15 +00:00
PJ Fanning
114f8b8fde
test issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903555 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 07:56:55 +00:00
PJ Fanning
b8cd360300
some int narrowing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903551 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 02:21:15 +00:00
PJ Fanning
f6a320770b
remove unnecessary l
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 09:21:30 +00:00
PJ Fanning
d7d13a11c1
[github-367] use uppercase L for longs. Thanks to Arturo Bernal. This closes #367
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903265 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 09:16:24 +00:00
PJ Fanning
bbfd7b9ec8
[github-365] use lambdas. Thanks to Arturo Bernal. This closes #365
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903258 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:12:49 +00:00
PJ Fanning
eaa27548fa
[github-366] remove unnecessary local vars. Thanks to Arturo Bernal. This closes #366
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903257 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:06:50 +00:00
PJ Fanning
3247a4160e
[github-364] use Math.min/max. Thanks to Arturo Bernal. This closes #364
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903256 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 20:51:57 +00:00
PJ Fanning
9626dd0661
update some module-info classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903003 13f79535-47bb-0310-9956-ffa450edef68
2022-07-25 11:22:08 +00:00
PJ Fanning
32069e6f5a
[github-353] Use printf. Thanks to XenoAmess. This closes #353
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902802 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 09:07:07 +00:00
PJ Fanning
50c40b61f7
[github-354] Add extra methods to StringUtil and refactor some code to use them. Thanks to XenoAmess. This closes #354
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902801 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 08:45:38 +00:00
PJ Fanning
c589f0ee7a
[github-339] Add extra methods to StringUtil and refactor some code to use them. Thanks to XenoAmess. This closes #339
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902789 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 01:53:18 +00:00
PJ Fanning
46b14041bf
java 17 compile issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902783 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 20:12:56 +00:00
PJ Fanning
22badcef27
[github-342] Use foreach. Thanks to XenoAmess. This closes #342
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902778 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 18:08:50 +00:00
PJ Fanning
4f54f29a2d
[github-345] Use switch instead of if. Thanks to XenoAmess. This closes #345
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902772 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 10:13:18 +00:00
PJ Fanning
b0400647a9
java 17 compile issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902761 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 01:17:15 +00:00
PJ Fanning
ce3371e92e
[github-341] Remove unused imports. Thanks to XenoAmess. This closes #341
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902760 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 23:23:34 +00:00
PJ Fanning
01f14a7548
[github-361] reuse regex pattern instances. Thanks to XenoAmess. This closes #361
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902756 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 22:45:56 +00:00
PJ Fanning
87ee700d04
[github-340] make more use of StandardCharsets. Thanks to XenoAmess. This closes #340
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902755 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:52:32 +00:00
PJ Fanning
186ad50d18
[github-351] make test loop more efficient
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902752 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:24:53 +00:00
PJ Fanning
b4c92e4ae5
[bug-65634] NotOLE2FileException not thrown in POI 5.0.0 by opening an XML-RAW File with SlideShowFactory.create()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902395 13f79535-47bb-0310-9956-ffa450edef68
2022-07-01 16:30:15 +00:00
Dominik Stadler
bfd2266779
Fix issues found when fuzzing Apache POI via Jazzer
...
Do not assert when the next line will throw a proper exception anyway
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899162 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:34 +00:00
PJ Fanning
a1463e32e5
increase max size of hwmf picture
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:58:47 +00:00
PJ Fanning
d013349052
use spaces for indents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 10:26:05 +00:00
Dominik Stadler
9949242022
Remove unused imports, remove unnecessary boxing of int-value and apply some other IDE suggestions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 08:20:00 +00:00
Dominik Stadler
d648c6d652
Fix issues found when fuzzing Apache POI via Jazzer
...
Throw RecordFormatException instead of NPE or assertion for
cases that can be triggered by a malformed document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899073 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:51 +00:00
Dominik Stadler
9df7e2d847
Prevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files
...
Limit the number of attributes to 10,000 by default
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899072 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:47 +00:00
Dominik Stadler
a7810011c7
Fix issues found when fuzzing Apache POI via Jazzer
...
Replace assertions with actual checks when input-data
can trigger them. We would not handle such
input-data properly otherwise.
Sometimes logging seems a better option if the issue
is not blocking us from parsing the document anyway
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899070 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:38 +00:00
Dominik Stadler
116c3e91ad
Add/update some JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898385 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 18:12:39 +00:00
Andreas Beeker
b59dbbd076
Use gradle toolchain to specify the jdk version and vendor, e.g.
...
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
PJ Fanning
1d0b478c16
refactor some stream code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898221 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 14:01:19 +00:00
PJ Fanning
839f1ad02a
refactor some stream code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898216 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 12:21:04 +00:00
PJ Fanning
788dd3f03c
refactor some stream code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898213 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 12:08:48 +00:00
PJ Fanning
4998436a00
rework test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898212 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 11:41:46 +00:00
PJ Fanning
6622d9badb
[bug-65899] fix issue where malformed tnef file can cause memory problems
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898208 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 11:28:50 +00:00
PJ Fanning
e71e602762
revert test module changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning
1ee199b1ea
try to fix build for Java 9+
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
PJ Fanning
ca9cf3c6f8
try to fix build for Java 9+
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897343 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:28:17 +00:00
Dominik Stadler
bba249d522
Don't add main classes to *-test.jar files
...
Better to only provide them once to avoid very strange
errors if they differ for some reason
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:38 +00:00
Dominik Stadler
9a0933b04e
Introduce an OldVisioFormatException similar to other file-types
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897321 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:51 +00:00
PJ Fanning
f2d37da8fc
remove use of deprecated commons-math methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897138 13f79535-47bb-0310-9956-ffa450edef68
2022-01-17 00:58:27 +00:00
Andreas Beeker
ff6984df00
remove and prevent links to stackoverflow
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
Axel Howind
78f7decf00
Bug 65796: License violation in PICT.java
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896887 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 14:37:13 +00:00
Dominik Stadler
f331af5a52
Increase new limits for files processed in the mass-regression-tests
...
Some valid test-files do trigger these limits, which indicates that
we should set them a bit higher
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896745 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 11:10:33 +00:00
Dominik Stadler
729d78cda6
Limit allocated elements in the PlfLfo structure for word documents
...
Use large allocation-detection here as well,
otherwise some documents can try to allocate too much memory.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896744 13f79535-47bb-0310-9956-ffa450edef68
2022-01-06 11:10:00 +00:00
Dominik Stadler
1e58d90228
Add a dependency for :poi-scratchpad:javadoc to :poi-ooxml:jar to avoid strange build-failures with parallel building
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896604 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 21:11:40 +00:00
PJ Fanning
c8fc960d2d
use isEmpty()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning
9de29ea3fc
use isEmpty()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:34:10 +00:00
Dominik Stadler
32311e42c2
Fix Sonar issues and print out some more in test-assertions that do fail sometimes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896531 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 16:10:52 +00:00
PJ Fanning
6784dd81c2
update some code based on sonar issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896504 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:08:56 +00:00
PJ Fanning
d6ab8e8444
[github-290] Customize Spliterator implementations for better parallelism. Thanks to Daniel Shuy. This closes #290
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896305 13f79535-47bb-0310-9956-ffa450edef68
2021-12-23 10:33:59 +00:00
PJ Fanning
f4bb4560ed
code tidy up
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:41:36 +00:00
Dominik Stadler
9fa33b2b7e
Fix issues found when fuzzing Apache POI via Jazzer
...
Add some additional allocation limits to avoid OOM in
some more cases with some broken input files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895922 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 19:22:34 +00:00
PJ Fanning
837590024f
[bug-65741] rework previous change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895881 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 13:12:32 +00:00
Dominik Stadler
1e9efb5562
Fix issues found when fuzzing Apache POI via Jazzer
...
Add some null-checks and report more meaningful exceptions
This provides a bit more information than simple NullPointExceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895600 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:44 +00:00
Dominik Stadler
f0e7cc0881
Fix issues found when fuzzing Apache POI via Jazzer
...
Check for negative array allocation size or access and report a more meaningful exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895599 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:19 +00:00
Dominik Stadler
d5538d24d8
Apply IDE suggestions, adjust tests, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895596 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:39 +00:00
PJ Fanning
a18a52316a
remove unfinished test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895458 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:58:22 +00:00
PJ Fanning
6c3fe307f5
fix merge issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895457 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:57:10 +00:00
PJ Fanning
c8d61cbfe3
code formatting
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895454 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:49:25 +00:00