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:
@@ -217,7 +217,7 @@ dns_ssutable_addrule(dns_ssutable_t *table, isc_boolean_t grant,
|
||||
result = ISC_R_NOMEMORY;
|
||||
goto failure;
|
||||
}
|
||||
memcpy(rule->types, types, ntypes * sizeof(dns_rdatatype_t));
|
||||
memmove(rule->types, types, ntypes * sizeof(dns_rdatatype_t));
|
||||
} else
|
||||
rule->types = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user