[NTOSKRNL] Replace overlapping strcopy with memmove
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 28 Apr 2019 18:23:35 +0000 (20:23 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 20 Jul 2019 11:56:18 +0000 (13:56 +0200)
commit3af7cb825fbdc6f5150710169096367f14bdc451
treea93e0f7332f993fd994e4aba1951a5371cb63fdc
parent95b3eebf71c967f1dc0554a8dfdbffbf9b1edbb2
[NTOSKRNL] Replace overlapping strcopy with memmove

Fixes 4 GCC 8 warnings of the kind:
ntoskrnl/kdbg/kdb_cli.c:3015:21: error: 'strcpy' accessing 1 byte at offsets 0 and [0, 2147483647] may overlap 1 byte at offset 0 [-Werror=restrict]
                     strcpy(p2, p2 + j);
                     ^~~~~~~~~~~~~~~~~~
ntoskrnl/kdbg/kdb_cli.c