aboutsummaryrefslogtreecommitdiffstats
path: root/test-data/spreadsheet
Commit message (Collapse)AuthorAgeFilesLines
* Bug 66425: Avoid a StackOverflowException found via oss-fuzzDominik Stadler2023-08-091-0/+0
| | | | | | | | | | | | We try to avoid causing StackOverflow, but it was possible to trigger one here with a specially crafted input-file. This puts a limit on the number of nested children in place and logs a warning when the Stream is not fully parsed. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61256 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911577 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-091-0/+0
| | | | | | | | | 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=61306 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911573 13f79535-47bb-0310-9956-ffa450edef68
* Try to adjust for strange null-message for ArrayIndexOutOfBoundsExceptionDominik Stadler2023-08-091-0/+0
| | | | | | | | | | Some CI runs seem to throw the exception with an empty message instead of the expected text. I could not reproduce this consistently and so we only can disable a check in this case. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911572 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-091-0/+0
| | | | | | | | | 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=61317 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911565 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a StackOverflowException found via oss-fuzzDominik Stadler2023-08-091-0/+0
| | | | | | | | | | | | We try to avoid causing StackOverflow, but it was possible to trigger one here with a specially crafted input-file. This puts a limit on the number of nested properties in place and logs a warning when the StyleSheet is not fully parsed. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61252 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911563 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-082-0/+0
| | | | | | | | | 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=61276 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911536 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Add memory-safeguard in one more placeDominik Stadler2023-08-071-0/+0
| | | | | | | | | | | | | | We try to generally avoid overly large allocations in places where arrays are allocated. We add one more such check for pictures in HSLF. We might need to increase the used value of 10MB if users report larger files being used frequently. Overriding this check via IOUtils is possible. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911525 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-072-0/+0
| | | | | | | | | 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
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | | | 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=61259 Also fix handling of NullPointerException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911517 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-072-0/+0
| | | | | | | | | | | 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=61242 Also enhance output of some test-failures and allow an empty exception message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911515 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid an AssertionError found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | We try to avoid throwing AssertionError to be triggered by input data, 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=61251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911514 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | 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=61243 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911507 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | 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
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-0/+0
| | | | | | | | | 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
* Fix expected exception text and print out which FileHandler failed in ↵Dominik Stadler2023-08-061-0/+0
| | | | | | integration-tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911495 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-061-0/+0
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Also rework test a bit to use try-with-resources and proper formatting Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61221 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911494 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-051-0/+0
| | | | | | | | | 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
* [bug-66827] add test case (that passes) - so issue is nor reproducedPJ Fanning2023-08-011-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911399 13f79535-47bb-0310-9956-ffa450edef68
* undo last change due to broken testPJ Fanning2023-07-241-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911233 13f79535-47bb-0310-9956-ffa450edef68
* [github-487] Round up seconds in CellElapsedFormatter. Thanks to Anthony ↵PJ Fanning2023-07-241-0/+0
| | | | | | Schott. This closes #487 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911228 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66682] fix xslb reading support for formula cells of boolean type. This ↵PJ Fanning2023-07-121-0/+0
| | | | | | closes #485 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910951 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66675] fix issue with writing xlsx (core properties being added twice)PJ Fanning2023-07-121-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910949 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62181] try to handle file where shared string loading is happening twicePJ Fanning2023-07-031-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910759 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66612] get macrosheet xml (test)PJ Fanning2023-05-221-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909994 13f79535-47bb-0310-9956-ffa450edef68
* revert: [bug-66503] Add flag for Excel 4 macros in composite documents.PJ Fanning2023-03-181-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908462 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66503] Add flag for Excel 4 macros in composite documents. Thanks to M. ↵PJ Fanning2023-03-181-0/+0
| | | | | | P. Halpin git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908461 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62272: Include alpha/transparency value when setting a color-value for a ↵Dominik Stadler2023-01-301-0/+0
| | | | | | | | font Use method with returns 4 bytes to use an ARGB value instead of only RGB git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907105 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66433] Boolean functions should blank cells. Thanks to Patrick BökerPJ Fanning2023-01-202-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906836 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.PJ Fanning2023-01-061-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906434 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66319] do not create HSSF patriarch to find comments (only use one that ↵PJ Fanning2022-12-121-0/+0
| | | | | | pre-exists) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905943 13f79535-47bb-0310-9956-ffa450edef68
* untidy hack for shared string counts that are higher than Integer.MAX_VALUEPJ Fanning2022-12-121-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905940 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66365] rework XSSFCell getRichStringCellValue and getStringCellValue to ↵PJ Fanning2022-11-281-0/+0
| | | | | | better support array formula results. Thanks to Espen Amble Kolstad. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905571 13f79535-47bb-0310-9956-ffa450edef68
* test for TIKA-3163PJ Fanning2022-08-301-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903775 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns nullPJ Fanning2022-08-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903442 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66215] add test case (that shows we have issues and need fixes)PJ Fanning2022-08-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903440 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66211] add test casePJ Fanning2022-08-131-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903393 13f79535-47bb-0310-9956-ffa450edef68
* revert: github ci permsPJ Fanning2022-08-011-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903174 13f79535-47bb-0310-9956-ffa450edef68
* #66115 - Some Password protected XLS files are not readAndreas Beeker2022-06-161-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901996 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66087] make DStar functions case insensitivePJ Fanning2022-05-251-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901229 13f79535-47bb-0310-9956-ffa450edef68
* Prevent an overly large allocation when using HPSFDominik Stadler2022-04-112-0/+0
| | | | | | Add a sample document from fuzzing which contains invalid/oversized values git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899749 13f79535-47bb-0310-9956-ffa450edef68
* [github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. ↵PJ Fanning2022-04-091-0/+0
| | | | | | This closes #321 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899680 13f79535-47bb-0310-9956-ffa450edef68
* [github-321] add test casePJ Fanning2022-04-081-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899667 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64536] add getDimension on XSSFSheetPJ Fanning2022-03-201-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899091 13f79535-47bb-0310-9956-ffa450edef68
* add xssf test (width/height)PJ Fanning2022-03-151-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898944 13f79535-47bb-0310-9956-ffa450edef68
* Make all text-extractors always return a non-null StringDominik Stadler2022-01-221-0/+0
| | | | | | This changes the expected exception of some test-files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897319 13f79535-47bb-0310-9956-ffa450edef68
* Limit allocated elements in the PlfLfo structure for word documentsDominik Stadler2022-01-061-0/+0
| | | | | | | 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
* Bug 52447: Allow HyperLinkRecord to appear as part of the RowRecordsAggregateDominik Stadler2021-12-301-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896552 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65741] rework previous changePJ Fanning2021-12-132-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895881 13f79535-47bb-0310-9956-ffa450edef68
* add data-formatter testPJ Fanning2021-12-081-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895706 13f79535-47bb-0310-9956-ffa450edef68
* add xlookup testPJ Fanning2021-12-061-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895613 13f79535-47bb-0310-9956-ffa450edef68