On Tuesday 28 May 2013 18:31:37 Sl�vek Banko wrote: [...] > I use kmail with IMAP4 on 64bit system for a long time and I did not > notice endless loops before using your patch, even then. > > Several problems was fixed by Fran�ois in earlier patches: > > + 786fea2 Fix another endless loop in imapparser (Bug 1235) > + 590161f Fix more SEGV in imapparser (Bug 1235) > + 9b43d6e Fix segfault in IMAP folder parsing > + b0c92b3 Fix long response time on large IMAP folders (Bug 1009) > + aa2af25 Fix IMAP hang on auth failure (Bug 1007) > > Slavek I guess that the endless-loop on 64 bit systems is fixed by one of Fran�ois' patches. My patch fixed this issue as a side effect, I discovered that kio_imap4 read lines of stream wrongly (i.e. read one line and half, instead one line at once) and I tried to address this. -- Serghei