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

scan-admin at coverity.com scan-admin at coverity.com
Sun Sep 23 08:10:23 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 1473593:  Control flow issues  (DEADCODE)
/zebra/rt_netlink.c: 2239 in netlink_macfdb_update()


________________________________________________________________________________________________________
*** CID 1473593:  Control flow issues  (DEADCODE)
/zebra/rt_netlink.c: 2239 in netlink_macfdb_update()
2233     		vid_present = 1;
2234     		sprintf(vid_buf, " VLAN %u", vid);
2235     	}
2236     	addattr32(&req.n, sizeof(req), NDA_MASTER, br_if->ifindex);
2237     
2238     	if (IS_ZEBRA_DEBUG_KERNEL)
>>>     CID 1473593:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression """" inside this statement: "zlog_debug("Tx %s family %s...".
2239     		zlog_debug("Tx %s family %s IF %s(%u)%s %sMAC %s%s",
2240     			   nl_msg_type_to_str(cmd),
2241     			   nl_family_to_str(req.ndm.ndm_family), ifp->name,
2242     			   ifp->ifindex, vid_present ? vid_buf : "",
2243     			   sticky ? "sticky " : "",
2244     			   prefix_mac2str(mac, buf, sizeof(buf)),


________________________________________________________________________________________________________
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-2FJnESnGXucTL7a1S2pfahXwIJOI2YViC1lqQOM5HPdxqv3lNauKdYbL-2Fu8m6K3kcANKzXQUh7e24Gq-2BHOr7RXbqDQDslK91cFZ51zLftCpp1uDhzfpdC8MJWfIewvN7LuczlwxgkEoyQS5sWi78jkYwWzkupu2ND4yftP18YG9XpFw-3D-3D




More information about the dev mailing list