New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Mar 24 08:04:02 EDT 2020
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.
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 1 of 1 defect(s)
** CID 1491788: Control flow issues (DEADCODE)
/nhrpd/nhrp_vty.c: 626 in show_ip_nhrp_cache()
________________________________________________________________________________________________________
*** CID 1491788: Control flow issues (DEADCODE)
/nhrpd/nhrp_vty.c: 626 in show_ip_nhrp_cache()
620 sockunion2str(&c->cur.peer->vc->remote.nbma,
621 buf[1], sizeof(buf[1]));
622 else
623 snprintf(buf[1], sizeof(buf[1]), "-");
624
625 if (json) {
>>> CID 1491788: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "json = json_object_new_obje...".
626 json = json_object_new_object();
627 json_object_string_add(json, "interface", c->ifp->name);
628 json_object_string_add(json, "type",
629 nhrp_cache_type_str[c->cur.type]);
630 json_object_string_add(json, "protocol", buf[0]);
631 json_object_string_add(json, "nbma", buf[1]);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teEwtXAn74UdOrNjckt5W0LJ0CDxXoQFnSJSV51LhpQIExOPuUyDQ-2BIaYqt88E1d5-2F-2Fc-3D9Vbp_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTzGoV7lqOcGkFOxcV9UwU-2FG5tMhKqYDMP7mLgXD6G0CVc-2FIDXe4dFyQqCPK3VYN7Qy6f9jIAGThS39-2BN4O66092LC5TQCumannseUfgDXAQqhzPDyq2S6n2bMZj-2Bgei2dqKS-2BiIwgYo7AvW9ahS9q3j88tM-2BOWG3fzWUopMwk-2BHPC-2FPmvz7iJFamnPqEUDKzxQ-3D
More information about the dev
mailing list