[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Oct 19 09:14:45 EDT 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 1474548:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1474548:  Null pointer dereferences  (FORWARD_NULL)
/bgpd/bgp_route.c: 5795 in bgp_aggregate_route()
5789     					lcommunity = lcommunity_dup(
5790     						pinew->attr->lcommunity);
5791     			}
5792     		}
5793     	}
5794     
>>>     CID 1474548:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "lcommunity" to "bgp_aggregate_install", which dereferences it.
5795     	bgp_aggregate_install(bgp, afi, safi, p, origin, aspath, community,
5796     			      ecommunity, lcommunity, atomic_aggregate,
5797     			      aggregate);
5798     
5799     	if (aggregate->count == 0) {
5800     		if (aspath)


________________________________________________________________________________________________________
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-2FJmWZNZPpbGdeSj4OhU1YFhyzNePIziT1lQczfgLyVRYJA-2Bjjv15V0dngVJ1RS4-2B1wvHtFEE-2F48jPAoQNM4Zh4ceLb3RpN0OOJNgKRwZCLbY6vMCId1n0IniziXDR5nZkFk6A9qbVKSrQbKrdNxA5Ihiam5M-2BeGs0kgt-2BYHB-2B4lW2A-3D-3D




More information about the dev mailing list