diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
commit | b4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch) | |
tree | 3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch | |
parent | 4cc71d79c5718d59078d06c497a56d7c05b41576 (diff) | |
download | tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip |
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch')
-rw-r--r-- | redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch b/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch new file mode 100644 index 000000000..90e0a1269 --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch @@ -0,0 +1,17 @@ +--- kdepim/kioslaves/imap4/imapparser.cc.ORI 2012-05-27 23:40:50.101207608 +0200 ++++ kdepim/kioslaves/imap4/imapparser.cc 2012-05-27 23:43:23.264547024 +0200 +@@ -277,11 +277,11 @@ + } + cmd = sendCommand (new imapCommand ("AUTHENTICATE", firstCommand.latin1())); + +- while ( true ) ++ int pl = 0; ++ while ( pl != -1 && !cmd->isComplete () ) + { + //read the next line +- while (parseLoop() == 0) ; +- if ( cmd->isComplete() ) break; ++ while ((pl = parseLoop()) == 0) ; + + if (!continuation.isEmpty()) + { |