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

List:       kde-commits
Subject:    kdelibs/kabc
From:       Helge Deller <deller () kde ! org>
Date:       2005-02-20 18:45:24
Message-ID: 20050220184524.D52901BBF3 () office ! kde ! org
[Download RAW message or body]

CVS commit by deller: 

prevent crash if string is QString::null
BUG:99729


  M +3 -0      ldifconverter.cpp   1.18


--- kdelibs/kabc/ldifconverter.cpp  #1.17:1.18
@@ -163,4 +163,7 @@ bool LDIFConverter::addresseeToLDIF( con
 bool LDIFConverter::LDIFToAddressee( const QString &str, AddresseeList &addrList, QDateTime dt )
 {
+  if (str.isEmpty())
+     return true;
+
   bool endldif = false, end = false;
   LDIF ldif;


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

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