mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-12 19:41:15 +00:00
Merge pull request #14651 from opensourcerouting/fix/bgpd_coverity_fqdn_capability
bgpd: Drop unnecessary null-termination for fqdn
This commit is contained in:
commit
91c5a471a7
@ -3303,8 +3303,6 @@ static void bgp_dynamic_capability_fqdn(uint8_t *pnt, int action,
|
||||
data += len;
|
||||
|
||||
if (len) {
|
||||
str[len] = '\0';
|
||||
|
||||
XFREE(MTYPE_BGP_PEER_HOST, peer->hostname);
|
||||
XFREE(MTYPE_BGP_PEER_HOST, peer->domainname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user