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:
@@ -3679,7 +3679,7 @@ dns_dispatch_importrecv(dns_dispatch_t *disp, isc_event_t *event) {
|
||||
isc_event_free(ISC_EVENT_PTR(&newsevent));
|
||||
return;
|
||||
}
|
||||
memcpy(buf, sevent->region.base, sevent->n);
|
||||
memmove(buf, sevent->region.base, sevent->n);
|
||||
newsevent->region.base = buf;
|
||||
newsevent->region.length = disp->mgr->buffersize;
|
||||
newsevent->n = sevent->n;
|
||||
|
Reference in New Issue
Block a user