[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Thu May 16 16:25:41 EDT 2019
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.
12 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 1480221: Null pointer dereferences (NULL_RETURNS)
________________________________________________________________________________________________________
*** CID 1480221: Null pointer dereferences (NULL_RETURNS)
/zebra/redistribute.c: 773 in zebra_import_table_rm_update()
767
768 rmap_name = zebra_get_import_table_route_map(afi, i);
769 if ((!rmap_name) || (strcmp(rmap_name, rmap) != 0))
770 continue;
771 table = zebra_vrf_table_with_table_id(afi, SAFI_UNICAST,
772 i, VRF_DEFAULT);
>>> CID 1480221: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a pointer that might be null "table" when calling "route_top".
773 for (rn = route_top(table); rn; rn = route_next(rn)) {
774 /* For each entry in the non-default
775 * routing table,
776 * add the entry in the main table
777 */
778 if (!rn->info)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeDU1AdI-2FBBrnda9ub5tlg3U-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJlXz45yhO0SxbcXBu4La5AAJE4i6aky1jtApm-2Fsp7z3D7uJegJJ2vl3q5-2B4kUMvZdPd0w4Ze3P1TO-2FDzaLTZRtfArw0n5hEDk6FjnOkNUKUgPmtx7Q5pQFIQSaWOtM0gTR94VLwstHRJ9j-2FUwiK9F6WkACVt5kE6VSQ39c6RxR4aQ-3D-3D
More information about the dev
mailing list