Commit Graph

761 Commits

Author SHA1 Message Date
Dominik Stadler 1b88529d07 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=61644

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911842 13f79535-47bb-0310-9956-ffa450edef68
2023-08-22 14:22:06 +00:00
PJ Fanning c3f4201831 change test broken by bug-66988 change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911755 13f79535-47bb-0310-9956-ffa450edef68
2023-08-18 13:08:13 +00:00
PJ Fanning 1bdfdcc793 [bug-66988] Fully replace content of XWPFTableCell on setText. Thanks to Anton Oellerer. This closes #503
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911749 13f79535-47bb-0310-9956-ffa450edef68
2023-08-18 08:48:18 +00:00
Dominik Stadler 733d3d10ea 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=61390

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911615 13f79535-47bb-0310-9956-ffa450edef68
2023-08-12 14:53:58 +00:00
PJ Fanning 5bedd077a6 curvesapi 1.08
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911604 13f79535-47bb-0310-9956-ffa450edef68
2023-08-11 14:52:47 +00:00
PJ Fanning a6a37bd0f0 add check for number of files inside zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911588 13f79535-47bb-0310-9956-ffa450edef68
2023-08-10 09:27:26 +00:00
Dominik Stadler 163ff25594 Bug 66425: Avoid a ClassCastException 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=61266

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911523 13f79535-47bb-0310-9956-ffa450edef68
2023-08-07 20:01:19 +00:00
Dominik Stadler a8b31c37a6 Bug 66425: Avoid a ClassCastException found via oss-fuzz
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
2023-08-07 11:11:08 +00:00
Dominik Stadler 31fd087a48 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=61249

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911501 13f79535-47bb-0310-9956-ffa450edef68
2023-08-07 09:42:17 +00:00
PJ Fanning 91c4ec6a45 avoid creating enumeration twice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911470 13f79535-47bb-0310-9956-ffa450edef68
2023-08-05 22:20:38 +00:00
Dominik Stadler acf61f325f Use interfaces for variables and reformat source-code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911436 13f79535-47bb-0310-9956-ffa450edef68
2023-08-04 12:47:09 +00:00
PJ Fanning c488cae3f3 [bug-66827] treat VML drawing entry for a comment that has incorrect type of TEXT as invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911407 13f79535-47bb-0310-9956-ffa450edef68
2023-08-02 08:58:34 +00:00
PJ Fanning dd1b0b1128 [bug-66827] add test case (that passes) - so issue is nor reproduced
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911399 13f79535-47bb-0310-9956-ffa450edef68
2023-08-01 20:49:26 +00:00
PJ Fanning 842e12d06e bouncycastle 1.76
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911371 13f79535-47bb-0310-9956-ffa450edef68
2023-07-31 14:55:12 +00:00
PJ Fanning fa8650fbe3 [bug-66682] fix xslb reading support for formula cells of boolean type. This closes #485
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910951 13f79535-47bb-0310-9956-ffa450edef68
2023-07-12 22:26:41 +00:00
PJ Fanning e1bb2a73c8 [bug-66675] fix issue with writing xlsx (core properties being added twice)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910949 13f79535-47bb-0310-9956-ffa450edef68
2023-07-12 12:25:01 +00:00
PJ Fanning 04442923f3 [bug-62181] try to handle file where shared string loading is happening twice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910759 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 20:54:56 +00:00
PJ Fanning cd5d0c3d07 update guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910755 13f79535-47bb-0310-9956-ffa450edef68
2023-07-03 14:33:28 +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 f331d08c22 apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910640 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 19:37:48 +00:00
PJ Fanning b90935055d apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910639 13f79535-47bb-0310-9956-ffa450edef68
2023-06-27 19:33:13 +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
PJ Fanning bfb6ec8e54 add XSSF test where 2 row instances have same rowNum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910569 13f79535-47bb-0310-9956-ffa450edef68
2023-06-23 12:59:57 +00:00
PJ Fanning 01208d5790 [bug-66661] revert github-269 due to it breaking formulas with table references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910561 13f79535-47bb-0310-9956-ffa450edef68
2023-06-22 21:37:01 +00:00
PJ Fanning c3d8586079 bouncycastle 1.75
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910543 13f79535-47bb-0310-9956-ffa450edef68
2023-06-21 17:03:09 +00:00
PJ Fanning e30571e9ec fix test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910480 13f79535-47bb-0310-9956-ffa450edef68
2023-06-18 17:10:56 +00:00
PJ Fanning 3bf4276117 xddf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910459 13f79535-47bb-0310-9956-ffa450edef68
2023-06-16 19:05:58 +00:00
PJ Fanning 5cafcdc83e [bug-66650] add chartex classes to poi-ooxml-full
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910433 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 20:05:33 +00:00
PJ Fanning 73fef78604 bouncycastle 1.74
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910429 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 15:35:39 +00:00
PJ Fanning 6943cc9a9c [GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910402 13f79535-47bb-0310-9956-ffa450edef68
2023-06-14 11:29:27 +00:00
PJ Fanning 51bd992387 update guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910365 13f79535-47bb-0310-9956-ffa450edef68
2023-06-12 10:14:05 +00:00
Dominik Stadler 0dc3d6e479 Need to lower the min expected width after changes for bug 66632
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910309 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 15:54:50 +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
Dominik Stadler c8f9fe4c2c Fix generating JavaDoc when running build with Java 9 or higher
Otherwise "current" is JDK 11, but "javadoc" from JDK 8 is executed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910299 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:51:58 +00:00
PJ Fanning 367b8b797a update guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910275 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 10:23:06 +00:00
PJ Fanning 0ad5f6ac58 improve exception handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910273 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 09:51:05 +00:00
PJ Fanning dfe5dd150c [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909996 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:31:05 +00:00
PJ Fanning bc035b1aff [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909995 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:08:48 +00:00
PJ Fanning b5153f1395 [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909994 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:00:10 +00:00
PJ Fanning 2712abf00b add content types for macrosheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909993 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 15:17:22 +00:00
PJ Fanning 60d5336f7c [bug-66607] perf issue processing array formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909934 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19 13:09:15 +00:00
Dominik Stadler 720027879f Bug 66598: Fix invalid loop-condition when cleaning up CTCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909808 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:16 +00:00
Dominik Stadler a647cc97e7 Fix a case in IdentifierManager.release(), reformat, add tests
The case when all are reserved was not handled properly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909807 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:12 +00:00
PJ Fanning 338e97f87c use MarlinRenderingEngine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909748 13f79535-47bb-0310-9956-ffa450edef68
2023-05-11 10:25:10 +00:00
PJ Fanning fe3b4645b7 [bug-66584] ensure ZipPackage closes input stream when exceptions happen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909467 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 09:13:08 +00:00
PJ Fanning b88f3ac0ab spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909466 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 08:58:34 +00:00
PJ Fanning 56dc911402 bouncycastle 1.73
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909101 13f79535-47bb-0310-9956-ffa450edef68
2023-04-12 19:37:57 +00:00
PJ Fanning 2bf82a487f xmlsec 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908966 13f79535-47bb-0310-9956-ffa450edef68
2023-04-04 19:04:46 +00:00
Dominik Stadler c0484ce62d Add more information in exception when formula parsing fails
Use toString() instead of getClass() to include more information 
for some ValueEval implementations
When low-level parsing fails, the IllegalStateException does not 
contain any information, therefore wrap it and enrich it with
more information about the cell and the parsed formula

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908608 13f79535-47bb-0310-9956-ffa450edef68
2023-03-21 11:45:00 +00:00
PJ Fanning f37a6013b6 slf4j 2.0.7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908558 13f79535-47bb-0310-9956-ffa450edef68
2023-03-20 11:00:46 +00:00