Perform a copy with a memmove for potentially overlapping regions.
authormikeb <mikeb@openbsd.org>
Fri, 12 Jun 2015 14:18:25 +0000 (14:18 +0000)
committermikeb <mikeb@openbsd.org>
Fri, 12 Jun 2015 14:18:25 +0000 (14:18 +0000)
commit7f8ecfe261051ed5f902afcd3a9d656a632aefdc
tree110d6c7a8dc0ba040516b0c2f13cbbfe97d75416
parent3af81264fa951878211504c04dcbb581e5467f1a
Perform a copy with a memmove for potentially overlapping regions.

Reported and fixed by Sergey Ryazanov <ryazanov ! s ! a at gmail ! com>,
thanks!
usr.sbin/pppd/lcp.c
usr.sbin/pppd/pppd.h