rev 16605 - in trunk/packages/kdepimlibs/debian: . patches

Fathi Boudra fabo at alioth.debian.org
Fri Jan 15 10:21:45 UTC 2010


Author: fabo
Date: 2010-01-15 10:21:43 +0000 (Fri, 15 Jan 2010)
New Revision: 16605

Added:
   trunk/packages/kdepimlibs/debian/patches/
   trunk/packages/kdepimlibs/debian/patches/01_imap4_kioslave_cpu_eater.diff
   trunk/packages/kdepimlibs/debian/patches/series
Modified:
   trunk/packages/kdepimlibs/debian/changelog
Log:
Add IMAP4 kioslave cpu eater patch: Properly check errors during
authentication to avoid falling into an infinite loop.


Modified: trunk/packages/kdepimlibs/debian/changelog
===================================================================
--- trunk/packages/kdepimlibs/debian/changelog	2010-01-14 16:12:46 UTC (rev 16604)
+++ trunk/packages/kdepimlibs/debian/changelog	2010-01-15 10:21:43 UTC (rev 16605)
@@ -1,10 +1,15 @@
-kdepimlibs (4:4.3.4-2) UNRELEASED; urgency=low
+kdepimlibs (4:4.3.4-3) UNRELEASED; urgency=low
 
+  [ Modestas Vainius ]
   * Change my email address to modax at debian.org in Uploaders field.
   * Fix Vcs-Browser URL.
 
- -- Modestas Vainius <modax at debian.org>  Sat, 12 Dec 2009 16:57:12 +0200
+  [ Fathi Boudra ]
+  * Add IMAP4 kioslave cpu eater patch: Properly check errors during
+    authentication to avoid falling into an infinite loop.
 
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 15 Jan 2010 11:18:43 +0100
+
 kdepimlibs (4:4.3.4-1) unstable; urgency=low
 
   * New upstream release

Added: trunk/packages/kdepimlibs/debian/patches/01_imap4_kioslave_cpu_eater.diff
===================================================================
--- trunk/packages/kdepimlibs/debian/patches/01_imap4_kioslave_cpu_eater.diff	                        (rev 0)
+++ trunk/packages/kdepimlibs/debian/patches/01_imap4_kioslave_cpu_eater.diff	2010-01-15 10:21:43 UTC (rev 16605)
@@ -0,0 +1,23 @@
+Description: Properly check errors during authentication to avoid falling into an infinite loop.
+Origin: upstream, http://websvn.kde.org/?view=rev&revision=1074179
+Bug: http://bugs.kde.org/show_bug.cgi?id=203715
+
+--- a/kioslave/imap4/imapparser.cpp
++++ b/kioslave/imap4/imapparser.cpp
+@@ -262,13 +262,12 @@ imapParser::clientAuthenticate ( KIO::Sl
+   }
+   cmd = sendCommand (CommandPtr(new imapCommand ("AUTHENTICATE", firstCommand.toLatin1())));
+ 
+-  while ( true )
+-  {
++  int pl = 0;
++  while ( pl != -1 && !cmd->isComplete () ) {
+     //read the next line
+-    while (parseLoop() == 0) {
++    while ( ( pl = parseLoop() ) == 0) {
+       ;
+     }
+-    if ( cmd->isComplete() ) break;
+ 
+     if (!continuation.isEmpty())
+     {

Added: trunk/packages/kdepimlibs/debian/patches/series
===================================================================
--- trunk/packages/kdepimlibs/debian/patches/series	                        (rev 0)
+++ trunk/packages/kdepimlibs/debian/patches/series	2010-01-15 10:21:43 UTC (rev 16605)
@@ -0,0 +1 @@
+01_imap4_kioslave_cpu_eater.diff




More information about the pkg-kde-commits mailing list