head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.6 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.2 pkgsrc-2011Q1-base:1.3; locks; strict; comment @# @; 1.4 date 2012.03.19.11.46.44; author markd; state dead; branches; next 1.3; 1.3 date 2011.01.23.04.27.00; author markd; state Exp; branches; next 1.2; 1.2 date 2010.01.27.10.38.40; author markd; state dead; branches; next 1.1; 1.1 date 2010.01.17.11.27.55; author markd; state Exp; branches; next ; desc @@ 1.4 log @Update to KDE SC 4.8.0 @ text @$NetBSD: patch-aa,v 1.3 2011/01/23 04:27:00 markd Exp $ svn r1216162 fix memcpy with overlapping source/dest --- kioslave/imap4/imap4.cpp 2011/01/21 16:55:50 1216161 +++ kioslave/imap4/imap4.cpp 2011/01/21 17:03:35 1216162 @@@@ -2577,7 +2577,7 @@@@ ssize_t copyLen = (len < readBufferLen) ? len : readBufferLen; memcpy(data, readBuffer, copyLen); readBufferLen -= copyLen; - if (readBufferLen) memcpy(readBuffer, &readBuffer[copyLen], readBufferLen); + if (readBufferLen) memmove(readBuffer, &readBuffer[copyLen], readBufferLen); return copyLen; } if (!isConnected()) return 0; @ 1.3 log @svn r1216162 fix a memcpy with overlapping source/dest @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to kde4 4.3.5 * A number of bugs in KIO have been squashed, making updating of shown directories work again and solving some other stability issues * A crash when creating an avatar from the webcam in Kopete has been fixed * kded taking 100% CPU time in certain situations has been cured @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2010/01/17 11:27:55 markd Exp $ d3 1 a3 1 KDE SVN commit r1074158 by ttrnka: d5 9 a13 6 Properly check errors during authentication to avoid falling into an infinite loop. --- kioslave/imap4/imapparser.cpp.orig 2009-05-14 17:26:01.000000000 +0000 +++ kioslave/imap4/imapparser.cpp @@@@ -262,13 +262,12 @@@@ imapParser::clientAuthenticate ( KIO::Sl d15 1 a15 15 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()) { @ 1.1 log @KDE SVN commit r1074158 by ttrnka: Properly check errors during authentication to avoid falling into an infinite loop. @ text @d1 1 a1 1 $NetBSD$ @