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

List:       kde-commits
Subject:    branches/KDE/4.2/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2009-02-18 21:05:50
Message-ID: 1234991150.140002.4263.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 928070 by dfaure:

Fix out-of-bounds assert when smb.conf contains "path=" (empty value)
  (This fix will be in 4.2.1)
BUG: 184144


 M  +1 -1      ksambashare.cpp  


--- branches/KDE/4.2/kdelibs/kio/kio/ksambashare.cpp #928069:928070
@@ -168,7 +168,7 @@
       QString name = completeLine.left(i).trimmed().toLower();
       QString value = completeLine.mid(i+1).trimmed();
 
-      if (name == KGlobal::staticQString("path")) {
+      if (name == KGlobal::staticQString("path") && !value.isEmpty()) {
         // Handle quotation marks
         if ( value[0] == '"' )
           value.remove(0,1);
[prev in list] [next in list] [prev in thread] [next in thread] 

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