efi_loader: fix CopyMem()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 9 Jan 2019 20:41:13 +0000 (21:41 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:06 +0000 (09:40 +0100)
commit0bc81a717d1ce90008f9f8ae8b3c086d4405a295
tree8fd76846179586d6fba51e1204961705ba94177f
parentf6c6df7ebc12fdaab252c5869732cef6fa48d864
efi_loader: fix CopyMem()

CopyMem() must support overlapping buffers. So replace memcpy() by
memmove().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c