New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Mar 4 21:04:23 EST 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.


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


** CID 1491588:  Null pointer dereferences  (REVERSE_INULL)
/zebra/zebra_vty.c: 937 in do_show_ip_route_all()


________________________________________________________________________________________________________
*** CID 1491588:  Null pointer dereferences  (REVERSE_INULL)
/zebra/zebra_vty.c: 937 in do_show_ip_route_all()
931     
932     		if (zvrf != info->zvrf)
933     			continue;
934     		if (zrt->afi != afi ||
935     		    zrt->safi != SAFI_UNICAST)
936     			continue;
>>>     CID 1491588:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "zrt->table" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
937     		if (zrt->table)
938     			do_show_ip_route(vty, zvrf_name(zvrf), afi,
939     					 SAFI_UNICAST, use_fib, use_json,
940     					 tag, longer_prefix_p,
941     					 supernets_only, type,
942     					 ospf_instance_id, zrt->tableid);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teEwtXAn74UdOrNjckt5W0LJ0CDxXoQFnSJSV51LhpQIExOPuUyDQ-2BIaYqt88E1d5-2F-2Fc-3Di7U5_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTyUhHVCN69edtOg-2FwmJ3gfEtlQjKVycaM0HYNKigk0mqzk3GT1ZwqRI04R-2BXcowSPOhNSuzvGnbIWuxfQq8st0F8lC8N-2BCiMcOuAxUFZnQL9YPQfFOBuKPHXMH6c-2FtuQzkAJcOWkuerFO6etQFfe46szcH6T77K5a-2BEYiM49QoeRWFj6QyImOnTPDPVAp0hSBQ-3D




More information about the dev mailing list