mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120]
This commit is contained in:
@@ -68,7 +68,7 @@ ttlfmt(unsigned int t, const char *s, isc_boolean_t verbose,
|
||||
isc_buffer_availableregion(target, ®ion);
|
||||
if (len > region.length)
|
||||
return (ISC_R_NOSPACE);
|
||||
memcpy(region.base, tmp, len);
|
||||
memmove(region.base, tmp, len);
|
||||
isc_buffer_add(target, len);
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
|
Reference in New Issue
Block a user