openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1739631 - /openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx
Date Sun, 17 Apr 2016 16:56:01 GMT
Author: damjan
Date: Sun Apr 17 16:56:00 2016
New Revision: 1739631

URL: http://svn.apache.org/viewvc?rev=1739631&view=rev
Log:
Fix a string limit error in my previous patch.

Patch by: me


Modified:
    openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx

Modified: openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx?rev=1739631&r1=1739630&r2=1739631&view=diff
==============================================================================
--- openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx (original)
+++ openoffice/trunk/main/connectivity/source/drivers/flat/ETable.cxx Sun Apr 17 16:56:00
2016
@@ -910,7 +910,7 @@ sal_Bool OFlatTable::readLine(QuotedToke
     xub_StrLen nLastOffset = 0;
     bool isQuoted = false;
     bool isFieldStarting = true;
-    while (true)
+    while (sLine.Len() < STRING_MAXLEN)
     {
         bool wasQuote = false;
         const sal_Unicode *p;



Mime
View raw message