[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Fri Sep 22 19:04:12 EDT 2017
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 1457040: Possible Control flow issues (DEADCODE)
/zebra/rt_netlink.c: 1346 in netlink_route_multipath()
________________________________________________________________________________________________________
*** CID 1457040: Possible Control flow issues (DEADCODE)
/zebra/rt_netlink.c: 1346 in netlink_route_multipath()
1340 else {
1341 req.r.rtm_table = RT_TABLE_UNSPEC;
1342 addattr32(&req.n, sizeof req, RTA_TABLE, re->table);
1343 }
1344
1345 if (discard)
>>> CID 1457040: Possible Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "goto skip;".
1346 goto skip;
1347
1348 if (re->mtu || re->nexthop_mtu) {
1349 char buf[NL_PKT_BUF_SIZE];
1350 struct rtattr *rta = (void *)buf;
1351 u_int32_t mtu = re->mtu;
________________________________________________________________________________________________________
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-2FJkGSSRBA20cQ0wi10KjlhTyw6GAqeKVRSJ3ABXTUMTUxQMqTM4F7hFV3UTGN-2FKbPDVUiWY6hF8OJDFj3aOTASY-2BZANLwkmZZlFFCOH2jcyCYszGQDIzQmJdsmMZhIuJQcFh33gNBt1jExSgWz-2FXv2r6sBc625EaTfMDq0bC-2BuOvIg-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-2FJkGSSRBA20cQ0wi10KjlhTy5q1Ke1Rnm3WIOt4z5nApHh1ZjW3j-2BrUF7bypRE7XcnnDlj7fdql1cpUJPRIiYhkIyKwGxnFaVTJbucsHfxqGKBktGfScjRBc9fhhqijUYqQ2EBHYEEYXQktu7LtpwRhP9zrrnIqetfohxy-2BcJ-2F8RdQ-3D-3D
More information about the dev
mailing list