diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-06-04 23:05:28 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-06-04 23:05:28 +0200 |
commit | a8d78224c6ea9b943357902276de7a513d0fbd8d (patch) | |
tree | b1fc22b372792bf2cd2b3bd9add09fb3df8e71ff /redhat/kdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch | |
parent | 7f3d4fcab8d85cda8766150784e9133f61110019 (diff) | |
download | tde-packaging-a8d78224c6ea9b943357902276de7a513d0fbd8d.tar.gz tde-packaging-a8d78224c6ea9b943357902276de7a513d0fbd8d.zip |
RHEL/Fedora: various updates
Diffstat (limited to 'redhat/kdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch')
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/redhat/kdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch b/redhat/kdepim/kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch new file mode 100644 index 000000000..90e0a1269 --- /dev/null +++ b/redhat/kdepim/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()) + { |