mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120]
This commit is contained in:
@@ -115,7 +115,7 @@ dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version,
|
||||
|
||||
memset(buffer, 0, DNS_NSEC_BUFFERSIZE);
|
||||
dns_name_toregion(target, &r);
|
||||
memcpy(buffer, r.base, r.length);
|
||||
memmove(buffer, r.base, r.length);
|
||||
r.base = buffer;
|
||||
/*
|
||||
* Use the end of the space for a raw bitmap leaving enough
|
||||
|
Reference in New Issue
Block a user