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 1529864: (FORWARD_NULL) /bgpd/bgp_snmp_bgp4v2.c: 443 in bgp4v2PathAttrLookup() /bgpd/bgp_snmp_bgp4v2.c: 480 in bgp4v2PathAttrLookup() ________________________________________________________________________________________________________ *** CID 1529864: (FORWARD_NULL) /bgpd/bgp_snmp_bgp4v2.c: 443 in bgp4v2PathAttrLookup() 437 438 #define BGP_NLRI_ENTRY_OFFSET (afi_len + 1 + afi_len) 439 440 sockunion_init(&su); 441 442 if (exact) {
CID 1529864: (FORWARD_NULL) Dereferencing null pointer "v".
443 if (*length - v->namelen != BGP_NLRI_ENTRY_OFFSET) 444 return NULL; 445 446 /* Set OID offset for prefix */ 447 offset = name + v->namelen; 448 if (family == AF_INET) /bgpd/bgp_snmp_bgp4v2.c: 480 in bgp4v2PathAttrLookup() 474 bgp_dest_unlock_node(dest); 475 } 476 477 return NULL; 478 } 479
CID 1529864: (FORWARD_NULL) Dereferencing null pointer "v".
480 offset = name + v->namelen; 481 offsetlen = *length - v->namelen; 482 len = offsetlen; 483 484 if (offsetlen == 0) { 485 dest = bgp_table_top(bgp->rib[afi][SAFI_UNICAST]);
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com