[frr] New Defects reported by Coverity Scan for freerangerouting/frr
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 1420253: Null pointer dereferences (NULL_RETURNS) ________________________________________________________________________________________________________ *** CID 1420253: Null pointer dereferences (NULL_RETURNS) /pimd/pim_zlookup.c: 256 in zclient_read_nexthop() 250 ++num_ifindex; 251 break; 252 case NEXTHOP_TYPE_IPV6_IFINDEX: 253 nexthop_tab[num_ifindex].nexthop_addr.family = AF_INET6; 254 stream_get (&nexthop_tab[num_ifindex].nexthop_addr.u.prefix6, s, 16); 255 nexthop_tab[num_ifindex].ifindex = stream_getl (s);
CID 1420253: Null pointer dereferences (NULL_RETURNS) Dereferencing a pointer that might be null "if_lookup_by_index((nexthop_tab + num_ifindex).ifindex, 0)" when calling "pim_neighbor_find_if".
256 nbr = pim_neighbor_find_if (if_lookup_by_index (nexthop_tab[num_ifindex].ifindex, VRF_DEFAULT)); 257 if (nbr) 258 { 259 nexthop_tab[num_ifindex].nexthop_addr.family = AF_INET; 260 nexthop_tab[num_ifindex].nexthop_addr.u.prefix4 = nbr->source_addr; 261 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
participants (1)
-
scan-admin@coverity.com