Use memmove() instead of memcpy(), buffers are overlapping.
authormpi <mpi@openbsd.org>
Tue, 30 May 2017 07:40:24 +0000 (07:40 +0000)
committermpi <mpi@openbsd.org>
Tue, 30 May 2017 07:40:24 +0000 (07:40 +0000)
commitc3ecc97a9ed427183114ee041c4233661636733e
treec75fce80b4df12cee53500a99aa7f90fe3542815
parent51585f3e12abd889cd0b1f13d953e43969552450
Use memmove() instead of memcpy(), buffers are overlapping.

From Coverity via NetBSD via miod@

ok claudio@, tedu@, deraadt@, krw@
sys/dev/hid/hidkbd.c