]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r276228:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 22:54:28 +0000 (22:54 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 22:54:28 +0000 (22:54 +0000)
commitf49dcc25e4248232c1809d79a877463078f5e987
treeac150beb4f52dbd021663ca58a69bf09da39c2ae
parent8e922e242605294d3608f29f907a6da6b098a95b
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)

git-svn-id: svn://svn.freebsd.org/base/stable/10@276384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/gas/input-scrub.c