Tag: cws_src680_dba202b User: oj Date: 05/12/12 05:52:06 Modified: /dba/connectivity/source/drivers/dbase/ DTable.cxx
Log: #128925# check row length File Changes: Directory: /dba/connectivity/source/drivers/dbase/ ================================================== File [changed]: DTable.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/dbase/DTable.cxx?r1=1.90.20.1&r2=1.90.20.2 Delta lines: +4 -4 ------------------- --- DTable.cxx 28 Nov 2005 08:53:07 -0000 1.90.20.1 +++ DTable.cxx 12 Dec 2005 13:52:02 -0000 1.90.20.2 @@ -4,9 +4,9 @@ * * $RCSfile: DTable.cxx,v $ * - * $Revision: 1.90.20.1 $ + * $Revision: 1.90.20.2 $ * - * last change: $Author: oj $ $Date: 2005/11/28 08:53:07 $ + * last change: $Author: oj $ $Date: 2005/12/12 13:52:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -650,7 +650,7 @@ sal_Int32 nByteOffset = 1; // Felder: OSQLColumns::const_iterator aIter = _rCols.begin(); - for (sal_Int32 i = 1; aIter != _rCols.end() && nByteOffset <= m_nBufferSize ;++aIter, i++) + for (sal_Int32 i = 1; aIter != _rCols.end() && nByteOffset <= m_nBufferSize && i < _rRow->size();++aIter, i++) { // Laengen je nach Datentyp: sal_Int32 nLen; @@ -682,7 +682,7 @@ } // Ist die Variable ueberhaupt gebunden? - if (!(*_rRow)[i]->isBound()) + if ( !(*_rRow)[i]->isBound() ) { // Nein - naechstes Feld. nByteOffset += nLen; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
