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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore
From:       Andreas Kling <kling () impul ! se>
Date:       2006-08-27 22:53:14
Message-ID: 1156719194.897183.7240.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 577947 by kling:

Fixed null-pointer deref in availableEncodingNames()


 M  +1 -1      kcharsets.cpp  


--- trunk/KDE/kdelibs/kdecore/kcharsets.cpp #577946:577947
@@ -343,7 +343,7 @@
 QStringList KCharsets::availableEncodingNames() const
 {
     QStringList available;
-    for ( const LanguageForEncoding* pos = language_for_encoding; *pos->index; ++pos ) {
+    for ( const LanguageForEncoding* pos = language_for_encoding; pos->index; ++pos ) {
         //kDebug(0) << *charsets << " available" << endl;
         available.append( QString::fromLatin1( pos->index ) );
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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