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. 2 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 4 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 1464494: Null pointer dereferences (NULL_RETURNS) /zebra/zebra_vty.c: 2023 in ipv6_route_address_interface_magic() ________________________________________________________________________________________________________ *** CID 1464494: Null pointer dereferences (NULL_RETURNS) /zebra/zebra_vty.c: 2023 in ipv6_route_address_interface_magic() 2017 if (!nh_zvrf) { 2018 vty_out(vty, "%% nexthop vrf %s is not defined\n", 2019 nexthop_vrf); 2020 return CMD_WARNING_CONFIG_FAILED; 2021 } 2022
CID 1464494: Null pointer dereferences (NULL_RETURNS) Assigning: "zvrf" = null return value from "zebra_vrf_lookup_by_name".
2023 zvrf = zebra_vrf_lookup_by_name(vrf); 2024 if (!nh_zvrf) { 2025 vty_out(vty, "%% nexthop vrf %s is not defined\n", 2026 vrf); 2027 return CMD_WARNING_CONFIG_FAILED; 2028 }
** CID 1464493: Null pointer dereferences (NULL_RETURNS) /zebra/zebra_vty.c: 2114 in ipv6_route_magic() ________________________________________________________________________________________________________ *** CID 1464493: Null pointer dereferences (NULL_RETURNS) /zebra/zebra_vty.c: 2114 in ipv6_route_magic() 2108 if (!nh_zvrf) { 2109 vty_out(vty, "%% nexthop vrf %s is not defined\n", 2110 nexthop_vrf); 2111 return CMD_WARNING_CONFIG_FAILED; 2112 } 2113
CID 1464493: Null pointer dereferences (NULL_RETURNS) Assigning: "zvrf" = null return value from "zebra_vrf_lookup_by_name".
2114 zvrf = zebra_vrf_lookup_by_name(vrf); 2115 if (!nh_zvrf) { 2116 vty_out(vty, "%% nexthop vrf %s is not defined\n", 2117 vrf); 2118 return CMD_WARNING_CONFIG_FAILED; 2119 }
________________________________________________________________________________________________________ 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