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

scan-admin at coverity.com scan-admin at coverity.com
Thu Aug 24 07:23:03 EDT 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.
2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1454646:  Control flow issues  (DEADCODE)
/ospf6d/ospf6_zebra.c: 238 in ospf6_zebra_read_route()


________________________________________________________________________________________________________
*** CID 1454646:  Control flow issues  (DEADCODE)
/ospf6d/ospf6_zebra.c: 238 in ospf6_zebra_read_route()
232     		prefix2str((struct prefix *)&api.prefix, prefixstr,
233     			   sizeof(prefixstr));
234     		if (nexthop)
235     			inet_ntop(AF_INET6, nexthop, nexthopstr,
236     				  sizeof(nexthopstr));
237     		else
>>>     CID 1454646:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "snprintf(nexthopstr, 128UL,...".
238     			snprintf(nexthopstr, sizeof(nexthopstr), "::");
239     
240     		zlog_debug(
241     			"Zebra Receive route %s: %s %s nexthop %s ifindex %ld tag %" ROUTE_TAG_PRI,
242     			(command == ZEBRA_REDISTRIBUTE_ROUTE_ADD ? "add"
243     								 : "delete"),


________________________________________________________________________________________________________
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-2FJlsE8wLCNDgJXmruKIs6cSo9z-2BYfr2uUnlTw9Vb9-2BZr6-2FG1rlCA-2BZL4-2BvJkNXK6jDU7TPVbH6F6ybuN6fxQRTWEnbdX66ojn0KeJ3hwn8W-2B-2FjskdCQgnsS1dD4WHAZoK6OWU2ZxioZt5CPsXnnqXVbMlg11PIsTm2ZE4mzhXm0odg-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-2FJlsE8wLCNDgJXmruKIs6cSoun-2Bkn5Xg-2FLwIO2pVqu7DcJIzh3LwwqfrO62PF-2FrZ5IsedDj40-2BlqT6ToTC6zcRNww4S8ylDigPHuyDqE93YQ3RttQbvJIpg6P5JFqW8kW4-2FFRHNbtHn7pPrKcyqM000mnOyYlWoBDpCqCnITjRwk3Q-3D-3D




More information about the dev mailing list