x86/string: correct memmove()'s forwarding to memcpy()
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Mar 2021 14:29:52 +0000 (15:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Mar 2021 14:29:52 +0000 (15:29 +0100)
commit72fc75d707ed1ab4b12189aacfcc237f8578590d
treec81fc557f01f4dae4e466c0f1cb207f5aa41756d
parentec003beb5c94fc9918ac1cc87fcccf3892c237e2
x86/string: correct memmove()'s forwarding to memcpy()

With memcpy() expanding to the compiler builtin, we may not hand it
overlapping source and destination. We strictly mean to forward to our
own implementation (a few lines up in the same source file).

Fixes: 78825e1c60fa ("x86/string: Clean up x86/string.h")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 7b93d92a35dc7c0a6e5f1f79b3c887aa3e66ddc0
master date: 2021-02-04 13:59:56 +0100
xen/arch/x86/string.c