New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Thu Apr 30 10:48:31 EDT 2020
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 1492772: Null pointer dereferences (NULL_RETURNS)
________________________________________________________________________________________________________
*** CID 1492772: Null pointer dereferences (NULL_RETURNS)
/bgpd/bgp_nht.c: 965 in bgp_nht_dereg_enhe_cap_intfs()
959 if (peer != bnc->nht_info)
960 return;
961
962 for (nhop = bnc->nexthop; nhop; nhop = nhop->next) {
963 ifp = if_lookup_by_index(nhop->ifindex, nhop->vrf_id);
964
>>> CID 1492772: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a pointer that might be "NULL" "ifp" when calling "zclient_send_interface_radv_req".
965 zclient_send_interface_radv_req(zclient, nhop->vrf_id, ifp, 0,
966 0);
967 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teEwtXAn74UdOrNjckt5W0LJ0CDxXoQFnSJSV51LhpQIExOPuUyDQ-2BIaYqt88E1d5-2F-2Fc-3DEqmA_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTz2wKtu2hbXtvC-2FLtzkI4nt-2BeNZM2BsKpmKa3nzLeKDzOfZ5x4drvCT49mnlteyRt8BLlcH-2Fl5fclPeXFDMXrUhC2nNZAF5mxq6BgHxn2EJb8DgClKt7gmqqhz1F7JFdVY3C5XY7CsbErfs4-2F-2BvH-2FN7HlOy34H6rWl2hntLTySTlIivdtYjIvXJ9nZn4WGsDDU-3D
More information about the dev
mailing list