New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Apr 26 23:20:30 UTC 2024


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 1586018:  Control flow issues  (DEADCODE)
/bgpd/bgp_ecommunity.c: 1402 in ecommunity_ecom2str()


________________________________________________________________________________________________________
*** CID 1586018:  Control flow issues  (DEADCODE)
/bgpd/bgp_ecommunity.c: 1402 in ecommunity_ecom2str()
1396     			if (sub_type == ECOMMUNITY_LINK_BANDWIDTH)
1397     				ecommunity_lb_str(encbuf, sizeof(encbuf), pnt,
1398     						  ecom->disable_ieee_floating);
1399     			else
1400     				unk_ecom = 1;
1401     		} else if (type == ECOMMUNITY_ENCODE_AS_NON_TRANS) {
>>>     CID 1586018:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "sub_type = *pnt++;".
1402     			sub_type = *pnt++;
1403     			if (sub_type == ECOMMUNITY_EXTENDED_LINK_BANDWIDTH)
1404     				ipv6_ecommunity_lb_str(encbuf, sizeof(encbuf),
1405     						       pnt);
1406     			else
1407     				unk_ecom = 1;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4jkWudbux5UNqYsSt9ZXO3s9m3KMDrlSX-2Bp41IzjejfmdC2hinnLY-2BZ6PvlTenLZs-3DtcM6_t0zeZlCsA34Fiw17aIfmh-2F3kFs1q7rysihvAefHXY7-2F-2B0i-2FmceDBV7tNdRHOOynM-2Ft5UePiX2yTta8I-2BB1JztpDdpkgS4a7JTW2zLIi52cG7KlKMuo1GLYJ632ZA2PxY9JWXnyhzC8-2BPXPqpl0xLXgOt4o-2BxPdJOMCxxevbpX9PGcGaumioNkgK-2Bxm3udoYNg-2F6QBEwA8p-2F5AGNUqqp-2Bvw-3D-3D




More information about the dev mailing list