[Kde-pim] POP3 KioSlave unreliable - please apply fix
Sven-Ola Tuecke
sven-ola at gmx.de
Sat Jul 17 09:24:38 BST 2010
Hi,
recently upgraded to Kubuntu/Lynx (from Hardy, I'm now on Kmail-1.13.2, KDE
4.4.2). Noticed a sporadic message box stating "Could not read file Invalid
response from server:" and a single dot as "wrong".
Took me some time to include debug code in order to find the root cause: the
POP3 ioslave uses memcpy() to move the input buffer while src and dst overlaps.
This in turn leads to e.g. the last 3 bytes of the buffer (.^M^J) to overwrite
the buffer start -> boinks. Overlapping memcpy() has unpredictable results and
a simple replacement by memmove() repairs that.
I write to this list, because the bugtracker does not indicate a vivid devel
response, e.g. https://bugs.kde.org/show_bug.cgi?id=232245 is marked as fixed
while bug still exists. A patch replacing 2 times memmove() in
kioslave/pop3/pop3.cpp can be found on
https://bugs.kde.org/show_bug.cgi?id=230072 but I'm pretty shure that also
other bugreps are triggered by this, e.g. one my scan this list.
https://bugs.kde.org/buglist.cgi?quicksearch=pop3
// Sven-Ola
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list