diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-04-09 09:56:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-04-09 20:39:34 +0200 |
commit | d34d1db55978bdcff082af1e0f75b18fa6fc94f4 (patch) | |
tree | 81fbd17954201ce6be1ce4427b777f91b926e183 /connectivity/source/drivers | |
parent | 33fe4909e29654faeef7f665f31ff31776ecfeec (diff) |
ofz#46526 Abrt
Change-Id: Iaec536b0989c4ec11b39b1534c7798e46715d7a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132751
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 8c8461fd485d..fd4b5ea85cc2 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -948,7 +948,7 @@ bool ODbaseTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns & _rCols, bool { case DataType::DATE: { - if (aStr.getLength() != nLen) + if (nLen < 8 || aStr.getLength() != nLen) { (*_rRow)[i]->setNull(); break; |