summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_memmem.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-12-29 22:54:28 +0000
committerpfg <pfg@FreeBSD.org>2014-12-29 22:54:28 +0000
commit80b8a49df45350ef1df84cb477766defc817ae56 (patch)
treeac150beb4f52dbd021663ca58a69bf09da39c2ae /contrib/netbsd-tests/lib/libc/string/t_memmem.c
parent52bfb3cdd3930dfa76b124495d3a3937f5721aba (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud