From: eap Date: Tue, 24 Jun 2008 13:53:04 +0000 (+0000) Subject: [SALOME platform 0019880]: EDF GEM SMESH 728: SIGSEV while dumping the study X-Git-Tag: V4_1_4a1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6d5e9822fdeb14b60c55116fa6e6417b931d3533;p=modules%2Fgeom.git [SALOME platform 0019880]: EDF GEM SMESH 728: SIGSEV while dumping the study in GetCreatedLast(), increment both entry iterators --- diff --git a/src/GEOM/GEOM_PythonDump.cxx b/src/GEOM/GEOM_PythonDump.cxx index 41b9c184f..14c84dc8b 100644 --- a/src/GEOM/GEOM_PythonDump.cxx +++ b/src/GEOM/GEOM_PythonDump.cxx @@ -117,7 +117,7 @@ namespace GEOM TDF_Tool::TagList(theObj1->GetEntry(), aTags1); TDF_Tool::TagList(theObj2->GetEntry(), aTags2); TColStd_ListIteratorOfListOfInteger aListIter1(aTags1), aListIter2(aTags2); - for (; aListIter1.More(); aListIter1.Next()) { + for (; aListIter1.More(); aListIter1.Next(), aListIter2.Next()) { if (!aListIter2.More()) return theObj1; // anObj1 is stored under anObj2