This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
patch to fix IPv6 reassembly
- From: Ken Cox <jkc at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Fri, 26 Jul 2002 07:29:50 -0500 (CDT)
- Subject: patch to fix IPv6 reassembly
- Reply-to: Ken Cox <jkc at redhat dot com>
ovbcopy() must handle the case where the src and dst regions are
overlayed. memcpy() does not handle this case, but memmove() does.
--- net/bsd_tcpip/current/src/ecos/support.c.orig Wed Jul 24 15:12:39 2002
+++ net/bsd_tcpip/current/src/ecos/support.c Thu Jul 18 14:56:47 2002
@@ -625,7 +625,7 @@
void
ovbcopy(const void *s, void *d, size_t len)
{
- memcpy(d, s, len);
+ memmove(d, s, len);
}
--
Ken Cox
Communications Software Consultant
Red Hat, Inc.
4900 Corporate Dr.
Suite L
Huntsville, AL. 35805
(256) 217-0142
(256) 837-0057 (fax)