Hi!
There is a bug in the StatCollector reading beyond vector boundaries in some
cases. Attached is a fix.
--
Andreas Kopecki High Performance Computing Center (HLRS)
Visualization Department
Tel. ++49-711-6855789 Allmandring 30a, D-70550 Stuttgart
[EMAIL PROTECTED] http://www.hlrs.de/
-------------------------------------------------------------------------
Index: OSGStatCollector.inl
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/System/Statistics/OSGStatCollector.inl,v
retrieving revision 1.3
diff -u -r1.3 OSGStatCollector.inl
--- OSGStatCollector.inl 11 Mar 2003 17:26:39 -0000 1.3
+++ OSGStatCollector.inl 23 Dec 2004 12:51:52 -0000
@@ -54,6 +54,12 @@
/*-------------------------------------------------------------------------*/
inline StatElem *StatCollector::getElem(Int32 id, bool create)
{
+ if (id >= _elemVec.size())
+ if (create)
+ refitElemNum();
+ else
+ return 0;
+
StatElem *elem = _elemVec[id];
if(create && !elem)