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

scan-admin at coverity.com scan-admin at coverity.com
Tue Dec 5 14:24:30 EST 2017


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 1462467:    (DEADCODE)
/zebra/zebra_rib.c: 1345 in rib_process_update_fib()
/zebra/zebra_rib.c: 1353 in rib_process_update_fib()


________________________________________________________________________________________________________
*** CID 1462467:    (DEADCODE)
/zebra/zebra_rib.c: 1345 in rib_process_update_fib()
1339     		 */
1340     		if (!nh_active || !installed) {
1341     			if (IS_ZEBRA_DEBUG_RIB) {
1342     				char buf[SRCDEST2STR_BUFFER];
1343     				srcdest_rnode2str(rn, buf, sizeof(buf));
1344     				if (new != old)
>>>     CID 1462467:    (DEADCODE)
>>>     Execution cannot reach the expression ""install failed"" inside this statement: "zlog_debug("%u:%s: Deleting...".
1345     					zlog_debug(
1346     						"%u:%s: Deleting route rn %p, re %p (type %d) "
1347     						"old %p (type %d) - %s",
1348     						zvrf_id(zvrf), buf, rn, new,
1349     						new->type, old, old->type,
1350     						nh_active ? "install failed"
/zebra/zebra_rib.c: 1353 in rib_process_update_fib()
1347     						"old %p (type %d) - %s",
1348     						zvrf_id(zvrf), buf, rn, new,
1349     						new->type, old, old->type,
1350     						nh_active ? "install failed"
1351     							  : "nexthop inactive");
1352     				else
>>>     CID 1462467:    (DEADCODE)
>>>     Execution cannot reach the expression ""install failed"" inside this statement: "zlog_debug("%u:%s: Deleting...".
1353     					zlog_debug(
1354     						"%u:%s: Deleting route rn %p, re %p (type %d) - %s",
1355     						zvrf_id(zvrf), buf, rn, new,
1356     						new->type,
1357     						nh_active ? "install failed"
1358     							  : "nexthop inactive");


________________________________________________________________________________________________________
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-2FJmzlPgda6CoxPuU-2BWc-2BLUXN-2FzeHei-2BzoXs7kMOjpHGy0RFIszlAWOf0BuiJw4rr2stIX7HOsCivdFGGL7vJPbW08vjbpLNRIlgBLiHqirQE2V8O97-2FkvFiZpU3FJNnn0OpmXAynakhefO-2BCBgI5qZJVu8-2FJx4GHmYgEVMWZDILYPw-3D-3D

To manage Coverity Scan email notifications for "frr at lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4lcTWm1Zma8LQDNpOYqrETKrqBiM18kcBcL8b08LzBPOYJYGySZ4Vv7d5QYcnSbGxl3QyORKgEmDxh-2BE2mj6dp1V4JSs2jbMZuLnEQJOW0Z0-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJmzlPgda6CoxPuU-2BWc-2BLUXNHhTd-2F1tN5iAtYyXXIwiMcx5HKoOKL8BDjyAqusSMI0CncMz4co5h3ThabCYko3LVPDj9G1eojUhlL0Q-2Bwy6AfFLCnfl3ak5R4j-2F16-2FvxTM3XBTpNzWn1FCbGf6hb0PTWSKCutuGsUVQML9L2JUXHXQ-3D-3D




More information about the dev mailing list