[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Mon Nov 26 00:30:07 EST 2018
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.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1475616: Error handling issues (CHECKED_RETURN)
/zebra/zebra_vty.c: 2305 in clear_evpn_dup_addr_magic()
________________________________________________________________________________________________________
*** CID 1475616: Error handling issues (CHECKED_RETURN)
/zebra/zebra_vty.c: 2305 in clear_evpn_dup_addr_magic()
2299
2300 zvrf = vrf_info_lookup(VRF_DEFAULT);
2301 if (vni_val) {
2302 vni = strtoul(vni_val, NULL, 10);
2303
2304 if (mac_val) {
>>> CID 1475616: Error handling issues (CHECKED_RETURN)
>>> Calling "prefix_str2mac" without checking return value (as is done elsewhere 7 out of 8 times).
2305 prefix_str2mac(mac_val, &mac_addr);
2306 zebra_vxlan_clear_dup_detect_vni_mac(vty, zvrf, vni,
2307 &mac_addr);
2308 } else if (ip) {
2309 if (sockunion_family(ip) == AF_INET) {
2310 host_ip.ipa_type = IPADDR_V4;
________________________________________________________________________________________________________
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-2FJm94BPzd-2BfhEvjWkXlIbwa2mrW8DNgBbU0Gk2-2FecivfTEmj-2Buqc70dnGa-2BPxUr4pG2gJQupoABzbGhdm6C8-2B1zU06wPHdy9MFxMX8h4u1amwhvv6-2F8NmNynKoZMc8kvE3qE-2BhKo24yZW4OsDwoFWxsFJHCMKAPjoOQ4Ro3QnBn1hA-3D-3D
More information about the dev
mailing list