]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r276228:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 22:55:54 +0000 (22:55 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 22:55:54 +0000 (22:55 +0000)
commitb80abbd227b82403084697eb47a761de5550b716
tree53b7d475c82356c3072beba0ae8d1df3057d034b
parent6d3db18ea66b3f4f78420e14a7268896708cc043
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/9@276385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/gas/input-scrub.c