[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Jan 30 13:16:00 EST 2018
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-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnH73V6I4MpjnYb6R3sIfIwjxf30mgRZhas3d4e1KUJ5a-2FU-2BroJFN4O0lhJgbK0HZ8TWI9cKMKUsxfNLxw8yahOPSNGUgcnHBgRmqdlwv3L73CeGglGZh-2BZGtGhfsxnWhE-2BjwrSu2-2F7ZRUkSy6j-2F7U4w63GP8EcjnxuJ3DfTgtdHg-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-2FJnH73V6I4MpjnYb6R3sIfIwWzLWJ0RhYRlFRXp0j6WSzfqsqTpxZ2oIpRnkR3JYUmjxshOvWhdG6u05FnidlyV5GlwRWaGNr32Axemz3RoTteNggUu5CkTShchBrGDUkJiY7CBPuMbP4WmJthvcbvMzQ9YTewSVqjMYVtNrrXz6TQ-3D-3D
More information about the dev
mailing list