summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-24 18:24:24 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-24 18:51:42 +0200
commit4e3ff19b33c84557fd20e68960499933b4e52638 (patch)
tree4dc7ebdbfe95c10bf996e4d7044a5c4ae3d72e46 /offapi
parenteedc5b15fb5c9a352657edec841b6a30c408e5c8 (diff)
tdf#84834 sc: stricter type detection for dBASE files
The detection is rather sloppy, the bugdoc gets erroneously detected as dBASE because it starts with '0', has a not-too-large header size at offset 4, and a '\r' at a 32-byte alignment towards the start of the the not-too-large header. Add a plausibility check for the number of records in the file, which helps for this bugdoc. Change-Id: I466dfae18aa32fd62b79b9f524f22bea719721be
Diffstat (limited to 'offapi')
0 files changed, 0 insertions, 0 deletions