[Kst] extragear/graphics/kst/src/libkst

Adam Treat treat at kde.org
Tue Nov 28 00:20:34 CET 2006


SVN commit 608583 by treat:

* Initialize the sample size.  This was causing an intermittent
crash when loading a kst document.  Vectors were being resized
from an undefined int to sz.


 M  +1 -0      kstvector.cpp  


--- trunk/extragear/graphics/kst/src/libkst/kstvector.cpp #608582:608583
@@ -90,6 +90,7 @@
 : KstPrimitive(), _nsum(0), _scalars(11) {
   QByteArray qba;
   _v = 0L;
+  _size = 0;
   int sz = INITSIZE;
 
   _editable = false;


More information about the Kst mailing list