diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-10 13:41:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-10 13:42:10 +0100 |
commit | ce454057e09fef607ea8eab55e8e5db43941320b (patch) | |
tree | 92426864ec0f5f94a1e2ce234309dcc48a1a9a76 /connectivity | |
parent | db9cfa672c5944f22ca82a28ed150a5fbae6f5b5 (diff) |
check for empty m_pBuffer
Change-Id: I90135b6d7780ba8a22fff725a965f0ea7e442707
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index a9f74b9494e9..845d037f343a 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -774,6 +774,9 @@ sal_Int64 ODbaseTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (R bool ODbaseTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns & _rCols, bool _bUseTableDefs, bool bRetrieveData) { + if (!m_pBuffer) + return false; + // Read the data bool bIsCurRecordDeleted = (char)m_pBuffer[0] == '*'; |