diff options
author | pfg <pfg@FreeBSD.org> | 2014-12-29 22:54:28 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-12-29 22:54:28 +0000 |
commit | 80b8a49df45350ef1df84cb477766defc817ae56 (patch) | |
tree | ac150beb4f52dbd021663ca58a69bf09da39c2ae /contrib/netbsd-tests/lib/libc/string/t_memmem.c | |
parent | 52bfb3cdd3930dfa76b124495d3a3937f5721aba (diff) | |
download | FreeBSD-src-80b8a49df45350ef1df84cb477766defc817ae56.zip FreeBSD-src-80b8a49df45350ef1df84cb477766defc817ae56.tar.gz |
MFC r276228:
gas: use memmove instead of bogus memcpy.
partial_where points into the buffer that begins with buffer_start
so we need to use memmove() to handle the overlap.
Fixes Sourceware-PR 11456.
Obtained from: OpenBSD (CVS rev. 1.2)
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_memmem.c')
0 files changed, 0 insertions, 0 deletions