diff options
Diffstat (limited to 'source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff')
-rw-r--r-- | source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff b/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff new file mode 100644 index 00000000..85a216dd --- /dev/null +++ b/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff @@ -0,0 +1,13 @@ +Index: branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp +=================================================================== +--- branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp (revision 1216161) ++++ branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp (revision 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; |