[Kst] branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Wed Jan 26 09:01:44 CET 2011


SVN commit 1217172 by kuemmel:

fix crash: _numframes is an index so the array was to small for the
biggest index


 M  +1 -1      asciisource.cpp  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1217171:1217172
@@ -341,7 +341,7 @@
 
   } while ((bufread == MAXBUFREADLEN));
 
-  _rowIndex.resize(_numFrames);
+  _rowIndex.resize(_numFrames + 1);
 
   return (!new_data && !force_update ? NoChange : Updated);
 }


More information about the Kst mailing list