[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 115/156: Bug 669118
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.
commit 4aba0ec7bb0902870e50994a8d52427ddf3d3ec6
Author: rcritten <>
Date: Wed Jan 12 19:43:23 2011 +0000
Bug 669118
memcpy of overlapping memory is no longer allowed by glibc.
This is mod_ssl bug https://issues.apache.org/bugzilla/show_bug.cgi?id=45444
Patch ported by Stephen Gallagher.
---
nss_engine_io.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nss_engine_io.c b/nss_engine_io.c
index e31bfc1..c9697ec 100644
--- a/nss_engine_io.c
+++ b/nss_engine_io.c
@@ -123,13 +123,13 @@ static int char_buffer_read(char_buffer_t *buffer, char *in, int inl)
if (buffer->length > inl) {
/* we have have enough to fill the caller's buffer */
- memcpy(in, buffer->value, inl);
+ memmove(in, buffer->value, inl);
buffer->value += inl;
buffer->length -= inl;
}
else {
/* swallow remainder of the buffer */
- memcpy(in, buffer->value, buffer->length);
+ memmove(in, buffer->value, buffer->length);
inl = buffer->length;
buffer->value = NULL;
buffer->length = 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git
More information about the Pkg-fedora-ds-maintainers
mailing list