[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Nov 13 10:42:38 EST 2018
Hi,
Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1475469: Null pointer dereferences (NULL_RETURNS)
________________________________________________________________________________________________________
*** CID 1475469: Null pointer dereferences (NULL_RETURNS)
/bgpd/bgp_nht.c: 870 in bgp_nht_register_enhe_capability_interfaces()
864 }
865
866 if (p.family != AF_INET6)
867 return;
868 rn = bgp_node_lookup(bgp->nexthop_cache_table[AFI_IP6], &p);
869
>>> CID 1475469: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a pointer that might be null "rn" when calling "bgp_nexthop_get_node_info".
870 bnc = bgp_nexthop_get_node_info(rn);
871 if (!bnc)
872 return;
873
874 if (peer != bnc->nht_info)
875 return;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJlQMwB3-2B7rWMFuOSl9sQhj74ymziumwQo3rT1gDgfvRt0ZLnRocUfY40ifSuNkjobel9XzUQTw5byC8zXQpgTlH6oKGdoAZGRVUgyBDZW2-2FpApQLlbzoZ5gjRjZyFM63T-2BZ-2B4m0nvLjKeWC7yC00ar0GISXDwLzzrIfmPYlv4jlJA-3D-3D
More information about the dev
mailing list