[QGIS Commit] r12143 - trunk/qgis/src/core/pal
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Nov 16 07:55:27 EST 2009
Author: wonder
Date: 2009-11-16 07:55:24 -0500 (Mon, 16 Nov 2009)
New Revision: 12143
Modified:
trunk/qgis/src/core/pal/problem.cpp
Log:
Fixed potential segfault in PAL code (thanks Juergen for discovering that)
Modified: trunk/qgis/src/core/pal/problem.cpp
===================================================================
--- trunk/qgis/src/core/pal/problem.cpp 2009-11-16 12:24:43 UTC (rev 12142)
+++ trunk/qgis/src/core/pal/problem.cpp 2009-11-16 12:55:24 UTC (rev 12143)
@@ -2448,8 +2448,8 @@
while ( list->size() > 0 )
{
+ lp = list->pop_front();
int probFeatId = lp->getProblemFeatureId();
- lp = list->pop_front();
if ( solution[probFeatId] >= 0 )
{
std::cerr << "Doublon : " << probFeatId << " "
More information about the QGIS-commit
mailing list