mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 09:05:40 +00:00
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120]
This commit is contained in:
@@ -216,7 +216,7 @@ gssapi_verify(dst_context_t *dctx, const isc_region_t *sig) {
|
||||
buf = isc_mem_allocate(dst__memory_pool, sig->length);
|
||||
if (buf == NULL)
|
||||
return (ISC_R_FAILURE);
|
||||
memcpy(buf, sig->base, sig->length);
|
||||
memmove(buf, sig->base, sig->length);
|
||||
r.base = buf;
|
||||
r.length = sig->length;
|
||||
REGION_TO_GBUFFER(r, gsig);
|
||||
|
Reference in New Issue
Block a user