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

scan-admin at coverity.com scan-admin at coverity.com
Mon Jul 31 12:16:53 EDT 2017


Hi,

Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.

2 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
3 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 2 of 2 defect(s)


** CID 1452282:  Null pointer dereferences  (FORWARD_NULL)
/zebra/zebra_vty_clippy.c: 186 in ipv6_route()


________________________________________________________________________________________________________
*** CID 1452282:  Null pointer dereferences  (FORWARD_NULL)
/zebra/zebra_vty_clippy.c: 186 in ipv6_route()
180     DEFUN_CMD_FUNC_TEXT(ipv6_route)
181     {
182     	int _i;
183     	unsigned _fail = 0, _failcnt = 0;
184     	const char *no = NULL;
185     	struct prefix_ipv6 prefix = { };
>>>     CID 1452282:  Null pointer dereferences  (FORWARD_NULL)
>>>     Assigning: "prefix_str" = "NULL".
186     	const char *prefix_str = NULL;
187     	struct prefix_ipv6 from = { };
188     	const char *from_str = NULL;
189     	struct in6_addr gate = IN6ADDR_ANY_INIT;
190     	const char *gate_str = NULL;
191     	const char *ifname = NULL;

** CID 1452281:  Null pointer dereferences  (FORWARD_NULL)
/zebra/zebra_vty_clippy.c: 23 in ip_mroute_dist()


________________________________________________________________________________________________________
*** CID 1452281:  Null pointer dereferences  (FORWARD_NULL)
/zebra/zebra_vty_clippy.c: 23 in ip_mroute_dist()
17     DEFUN_CMD_FUNC_TEXT(ip_mroute_dist)
18     {
19     	int _i;
20     	unsigned _fail = 0, _failcnt = 0;
21     	const char *no = NULL;
22     	struct prefix_ipv4 prefix = { };
>>>     CID 1452281:  Null pointer dereferences  (FORWARD_NULL)
>>>     Assigning: "prefix_str" = "NULL".
23     	const char *prefix_str = NULL;
24     	struct in_addr gate = { INADDR_ANY };
25     	const char *gate_str = NULL;
26     	const char *ifname = NULL;
27     	long distance = 0;
28     	const char *distance_str = NULL;


________________________________________________________________________________________________________
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-2FJllxQu7eUBtBG8MhXtQqzazFbDbVtREfTYAl9T1ByPvhLtgP4O4f-2Fgkasv3k5UntQtUAZ5NpM57J7ApdnC6lTbiyFhkZ5duKWyONtZe-2FNYrUcO2kbdqL2XrEk6Ozx1N5zpoBkDPvYhs8gA1kMx1E2MhZRQ8P-2BVgB-2Br1c-2BcF90hfgQ-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-2FJllxQu7eUBtBG8MhXtQqzazPPr5HE78SEJfmG2hrCqdXD9p5w038U1-2FdhLLLAf9EWbD1DkLRT-2FwSbINmnFK9sLLe7MDiqVizePXtJ01vDNqZtx7EqtMcfIGg4YRx81PoaX9lP433VpCvhD6AU91BzIlqqwEd5rQFKAj6IHhaTV-2F9Q-3D-3D




More information about the dev mailing list