[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Tue Apr 17 13:22:53 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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1467945:  Memory - corruptions  (UNINIT)
/zebra/redistribute.c: 534 in zebra_add_import_table_entry()


________________________________________________________________________________________________________
*** CID 1467945:  Memory - corruptions  (UNINIT)
/zebra/redistribute.c: 534 in zebra_add_import_table_entry()
528     	if (rmap_name)
529     		ret = zebra_import_table_route_map_check(
530     			afi, re->type, &rn->p, re->ng.nexthop, re->vrf_id,
531     			re->tag, rmap_name);
532     
533     	if (ret != RMAP_MATCH) {
>>>     CID 1467945:  Memory - corruptions  (UNINIT)
>>>     Using uninitialized value "same".
534     		UNSET_FLAG(same->flags, ZEBRA_FLAG_SELECTED);
535     		zebra_del_import_table_entry(rn, re);
536     		return 0;
537     	}
538     
539     	prefix_copy(&p, &rn->p);


________________________________________________________________________________________________________
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-2FJl3lP9W9-2F-2FODoRPjzFtmXWftKRpYEjZHM0HDH-2BnwXHlQCN610hvx4lua5AUhhrgKobQe3SrQW1r73uYGVlAmpFbGslA2Up-2Bs6-2FMgLH42ww-2Ba4WHG2hy4AA3v5U7ixfcsDOxt0PAC9aGBsdnxjmfmHj7agZwB0e9uP-2B3kN6vivh1RA-3D-3D




More information about the dev mailing list