diff options
author | markd <markd@pkgsrc.org> | 2011-01-23 04:26:59 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-01-23 04:26:59 +0000 |
commit | 8f8fd921d882170267c4d946ee26a0daa8f428cc (patch) | |
tree | c5f8a429274a098c80bcc99735f9f30e9b791f8e /misc/kdepimlibs4 | |
parent | d939c4223b70502ae47bb6f3fec8baf2b78b8541 (diff) | |
download | pkgsrc-8f8fd921d882170267c4d946ee26a0daa8f428cc.tar.gz |
svn r1216162 fix a memcpy with overlapping source/dest
Diffstat (limited to 'misc/kdepimlibs4')
-rw-r--r-- | misc/kdepimlibs4/Makefile | 4 | ||||
-rw-r--r-- | misc/kdepimlibs4/distinfo | 3 | ||||
-rw-r--r-- | misc/kdepimlibs4/patches/patch-aa | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/misc/kdepimlibs4/Makefile b/misc/kdepimlibs4/Makefile index e32a8dfc48b..dac4b85ae1a 100644 --- a/misc/kdepimlibs4/Makefile +++ b/misc/kdepimlibs4/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2011/01/13 13:36:55 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2011/01/23 04:26:59 markd Exp $ DISTNAME= kdepimlibs-${_KDE_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc COMMENT= Support libraries for PIM for the KDE integrated X11 desktop diff --git a/misc/kdepimlibs4/distinfo b/misc/kdepimlibs4/distinfo index 6505dd67300..a8fdabd0e0c 100644 --- a/misc/kdepimlibs4/distinfo +++ b/misc/kdepimlibs4/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.13 2010/12/06 11:43:40 markd Exp $ +$NetBSD: distinfo,v 1.14 2011/01/23 04:26:59 markd Exp $ SHA1 (kdepimlibs-4.5.4.tar.bz2) = 19849626439abb195f0827df59ab034a06af77ea RMD160 (kdepimlibs-4.5.4.tar.bz2) = 38ce04ab98556786d30dd3b0ba50b0481f4287e7 Size (kdepimlibs-4.5.4.tar.bz2) = 2673955 bytes +SHA1 (patch-aa) = 4a90823acf9832232ea51cc1202dd88edebe5ee9 diff --git a/misc/kdepimlibs4/patches/patch-aa b/misc/kdepimlibs4/patches/patch-aa new file mode 100644 index 00000000000..8ef48fcf3b5 --- /dev/null +++ b/misc/kdepimlibs4/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2011/01/23 04:27:00 markd Exp $ + +svn r1216162 fix memcpy with overlapping source/dest + +--- kioslave/imap4/imap4.cpp 2011/01/21 16:55:50 1216161 ++++ kioslave/imap4/imap4.cpp 2011/01/21 17:03:35 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; |