aboutsummaryrefslogtreecommitdiffstats
path: root/test-data
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-01-06 23:50:54 +0000
committerPJ Fanning <fanningpj@apache.org>2023-01-06 23:50:54 +0000
commit968dabd462725b5ee13aa43cedcee4719e98ecc5 (patch)
treee6170071fa9ec0aa9137a62aa415c15bcae92949 /test-data
parentc8c06d1ec0bf9619af1a455513cf1dfb8aa6a0e4 (diff)
downloadpoi-968dabd462725b5ee13aa43cedcee4719e98ecc5.tar.gz
poi-968dabd462725b5ee13aa43cedcee4719e98ecc5.zip
[bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test-data')
-rw-r--r--test-data/spreadsheet/notenoughstrings.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-data/spreadsheet/notenoughstrings.txt b/test-data/spreadsheet/notenoughstrings.txt
new file mode 100644
index 0000000000..3ecc2d3fda
--- /dev/null
+++ b/test-data/spreadsheet/notenoughstrings.txt
@@ -0,0 +1,13 @@
+[sst-record]
+14 00 # String length 0x14=20
+01 # Option flag, 16bit
+# String: At a dinner party or
+41 00 74 00 20 00 61 00 20 00
+64 00 69 00 6E 00 6E 00 65 00
+72 00 20 00 70 00 61 00 72 00
+74 00 79 00 20 00 6F 00 72 00
+
+# This is not a complete record
+# It only matters that the record type is not 0x003C
+[non-continuation-record]
+00 11 22 33