From: Ondřej Surý Date: Fri, 12 Jul 2019 13:28:00 +0000 (+0200) Subject: Replace the only memcpy usage with memmove X-Git-Tag: v9.15.3~48^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc234e381910b8e2e7397cec6618203b7d0415fc;p=thirdparty%2Fbind9.git Replace the only memcpy usage with memmove --- diff --git a/lib/isc/random.c b/lib/isc/random.c index 152f0cc16a8..79fbc7c7aa1 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -87,7 +87,7 @@ isc_random_initialize(void) { #else isc_entropy_get(useed, sizeof(useed)); #endif - memcpy(seed, useed, sizeof(seed)); + memmove(seed, useed, sizeof(seed)); } uint8_t