mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
more str{n}{cat,cpy} corrections rt45981_stage2
This commit is contained in:
@@ -229,7 +229,7 @@ linux_if_inet6_current(isc_interfaceiter_t *iter) {
|
||||
}
|
||||
}
|
||||
isc_netaddr_fromin6(&iter->current.netmask, &addr6);
|
||||
strncpy(iter->current.name, name, sizeof(iter->current.name));
|
||||
strlcpy(iter->current.name, name, sizeof(iter->current.name));
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user