From kde-commits Thu Mar 19 08:07:22 2009 From: Laurent Montel Date: Thu, 19 Mar 2009 08:07:22 +0000 To: kde-commits Subject: KDE/kdenetwork/kppp Message-Id: <1237450042.934505.5836.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123746238023482 SVN commit 941252 by mlaurent: Fix crash M +1 -1 pppdata.cpp --- trunk/KDE/kdenetwork/kppp/pppdata.cpp #941251:941252 @@ -444,7 +444,7 @@ { it = map.begin(); KConfigGroup cg2(config, cmodemgroup); - while (!it.key().isEmpty()) { + while (it !=map.end() && !it.key().isEmpty()) { if(!it.key().isEmpty()) cg2.writeEntry(it.key(), ""); it++;