[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Jun 19 12:56:30 EDT 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.
2 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 1470098: Control flow issues (DEADCODE)
/bgpd/bgp_vpn.c: 232 in show_adj_route_vpn()
________________________________________________________________________________________________________
*** CID 1470098: Control flow issues (DEADCODE)
/bgpd/bgp_vpn.c: 232 in show_adj_route_vpn()
226 route_vty_out_tmp(vty, &rm->p, attr,
227 SAFI_MPLS_VPN,
228 use_json, json_array);
229 }
230 }
231 if (use_json && rm) {
>>> CID 1470098: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "char buf_a[8192];".
232 char buf_a[BUFSIZ];
233 char buf_b[BUFSIZ];
234 sprintf(buf_a, "%s/%d",
235 inet_ntop(rm->p.family, rm->p.u.val,
236 buf_b, BUFSIZ),
237 rm->p.prefixlen);
________________________________________________________________________________________________________
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-2FJmyH9RxGaJyaAr-2BBnwKxx3XJq-2F506-2F3kCqrHIaQkw2e1bBijrUydZP7HP9L5l-2BxNQF3dAFEDKUCNDSVZ8OnvJseAujVhyd64kocQn06YiBNkJVlOB0xyZ9KiaIIsOJgRb-2Betzw9FmwtxssI-2FMTUm1MSz1e97M3sz88ks0MQBjVr8Q-3D-3D
More information about the dev
mailing list