mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120]
This commit is contained in:
@@ -1130,7 +1130,7 @@ sync_channellist(isc_logconfig_t *lcfg) {
|
||||
if (lcfg->channellist_count != 0) {
|
||||
bytes = lcfg->channellist_count *
|
||||
sizeof(ISC_LIST(isc_logchannellist_t));
|
||||
memcpy(lists, lcfg->channellists, bytes);
|
||||
memmove(lists, lcfg->channellists, bytes);
|
||||
isc_mem_put(lctx->mctx, lcfg->channellists, bytes);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user