mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
[master] Corrects high impact issues reported by Coverity.
Merges in rt36712
This commit is contained in:
@@ -1135,8 +1135,7 @@ ddns_update_lease_ptr(struct lease *lease,
|
||||
return (ISC_R_FAILURE);
|
||||
}
|
||||
else {
|
||||
strncpy(ddns_address, piaddr(ddns_cb->address),
|
||||
MAX_ADDRESS_STRING_LEN);
|
||||
strcpy(ddns_address, piaddr(ddns_cb->address));
|
||||
}
|
||||
#if defined (DEBUG_DNS_UPDATES)
|
||||
log_info("%s(%d): Updating lease_ptr for ddns_cp=%p (addr=%s)",
|
||||
|
Reference in New Issue
Block a user