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

List:       kde-commits
Subject:    kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2004-01-11 16:19:52
Message-ID: 20040111161952.E2A6E9055 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed out-of-bounds read.
CCMAIL: bastian@kde.org


  M +2 -0      kprotocolmanager.cpp   1.134


--- kdelibs/kio/kio/kprotocolmanager.cpp  #1.133:1.134
@@ -299,4 +299,6 @@ static bool revmatch(const char *host, c
       if ( nptr==nplist || nptr[-1]==',' || nptr[-1]==' ')
         return true;
+      if ( hptr == host ) // e.g. revmatch("bugs.kde.org","mybugs.kde.org")
+        return false;
 
       hptr--;


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

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