New Defects reported by Coverity Scan for freerangerouting/frr
Hi, Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 5 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 5 of 5 defect(s) ** CID 1457194: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 102 in ip_route_blackhole() ________________________________________________________________________________________________________ *** CID 1457194: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 102 in ip_route_blackhole() 96 #if 8 /* anything to parse? */ 97 int _i; 98 #if 1 /* anything that can fail? */ 99 unsigned _fail = 0, _failcnt = 0; 100 #endif 101 const char *no = NULL;
CID 1457194: Null pointer dereferences (FORWARD_NULL) Assigning: "prefix" = "NULL".
102 const char *prefix = NULL; 103 struct in_addr mask = { INADDR_ANY }; 104 const char *mask_str = NULL; 105 const char *flag = NULL; 106 long tag = 0; 107 const char *tag_str = NULL;
** CID 1457193: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 489 in ipv6_route_address_interface() ________________________________________________________________________________________________________ *** CID 1457193: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 489 in ipv6_route_address_interface() 483 int _i; 484 #if 1 /* anything that can fail? */ 485 unsigned _fail = 0, _failcnt = 0; 486 #endif 487 const char *no = NULL; 488 struct prefix_ipv6 prefix = { };
CID 1457193: Null pointer dereferences (FORWARD_NULL) Assigning: "prefix_str" = "NULL".
489 const char *prefix_str = NULL; 490 struct prefix_ipv6 from = { }; 491 const char *from_str = NULL; 492 struct in6_addr gate = IN6ADDR_ANY_INIT; 493 const char *gate_str = NULL; 494 const char *ifname = NULL;
** CID 1457192: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 195 in ip_route_address_interface() ________________________________________________________________________________________________________ *** CID 1457192: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 195 in ip_route_address_interface() 189 #if 9 /* anything to parse? */ 190 int _i; 191 #if 1 /* anything that can fail? */ 192 unsigned _fail = 0, _failcnt = 0; 193 #endif 194 const char *no = NULL;
CID 1457192: Null pointer dereferences (FORWARD_NULL) Assigning: "prefix" = "NULL".
195 const char *prefix = NULL; 196 struct in_addr mask = { INADDR_ANY }; 197 const char *mask_str = NULL; 198 struct in_addr gate = { INADDR_ANY }; 199 const char *gate_str = NULL; 200 const char *ifname = NULL;
** CID 1457191: Uninitialized variables (UNINIT) /pimd/pim_cmd.c: 6505 in interface_no_ip_pim_boundary_oil() ________________________________________________________________________________________________________ *** CID 1457191: Uninitialized variables (UNINIT) /pimd/pim_cmd.c: 6505 in interface_no_ip_pim_boundary_oil() 6499 "Define multicast boundary\n" 6500 "Filter OIL by group using prefix list\n" 6501 "Prefix list to filter OIL with") 6502 { 6503 VTY_DECLVAR_CONTEXT(interface, iif); 6504 struct pim_interface *pim_ifp;
CID 1457191: Uninitialized variables (UNINIT) Declaring variable "idx" without initializer.
6505 int idx; 6506 6507 argv_find(argv, argc, "WORD", &idx); 6508 6509 PIM_GET_PIM_INTERFACE(pim_ifp, iif); 6510
** CID 1457190: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 393 in ipv6_route_blackhole() ________________________________________________________________________________________________________ *** CID 1457190: Null pointer dereferences (FORWARD_NULL) /zebra/zebra_vty_clippy.c: 393 in ipv6_route_blackhole() 387 int _i; 388 #if 1 /* anything that can fail? */ 389 unsigned _fail = 0, _failcnt = 0; 390 #endif 391 const char *no = NULL; 392 struct prefix_ipv6 prefix = { };
CID 1457190: Null pointer dereferences (FORWARD_NULL) Assigning: "prefix_str" = "NULL".
393 const char *prefix_str = NULL; 394 struct prefix_ipv6 from = { }; 395 const char *from_str = NULL; 396 const char *flag = NULL; 397 long tag = 0; 398 const char *tag_str = NULL;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
participants (1)
-
scan-admin@coverity.com