[Kde-bindings] KDE/kdebindings/smoke
Thomas Moenicke
tm at php-qt.org
Fri Oct 31 23:44:32 UTC 2008
SVN commit 878353 by moenicke:
* added upper bound for class-list iteration in Smoke::idClass()
CCMAIL: kde-bindings at kde.org
CCMAIL: arno at arnorehn.de
CCMAIL: Richard_Dale at 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;
More information about the Kde-bindings
mailing list