connectivity/source/drivers/dbase/DTable.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit ce454057e09fef607ea8eab55e8e5db43941320b Author: Caolán McNamara <caol...@redhat.com> Date: Wed Sep 10 13:41:50 2014 +0100 check for empty m_pBuffer Change-Id: I90135b6d7780ba8a22fff725a965f0ea7e442707 diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index a9f74b9..845d037 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] == '*';
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits