[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebindings/smoke
From:       Thomas Moenicke <tm () php-qt ! org>
Date:       2008-10-31 23:44:32
Message-ID: 1225496672.201738.18912.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 878353 by moenicke:


* added upper bound for class-list iteration in Smoke::idClass()

CCMAIL: kde-bindings@kde.org
CCMAIL: arno@arnorehn.de
CCMAIL: Richard_Dale@tipitina.demon.co.uk



 M  +1 -1      smoke.h  


--- trunk/KDE/kdebindings/smoke/smoke.h #878352:878353
@@ -350,7 +350,7 @@
 
 	while(imax >= imin) {
 	    icur = (imin + imax) / 2;
-	    if(icur > 0)
+	    if(icur > 0 && icur < numClasses)
 		icmp = strcmp(classes[icur].className, c);
 	    else
 		icmp = -1;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic