New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Apr 5 09:18:28 UTC 2023


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 1537086:  Null pointer dereferences  (NULL_RETURNS)
/zebra/zebra_gr.c: 654 in zebra_gr_process_client()


________________________________________________________________________________________________________
*** CID 1537086:  Null pointer dereferences  (NULL_RETURNS)
/zebra/zebra_gr.c: 654 in zebra_gr_process_client()
648     			     uint8_t instance)
649     {
650     	struct zserv *client = zserv_find_client(proto, instance);
651     	struct client_gr_info *info = NULL;
652     	struct zebra_gr_afi_clean *gac;
653     
>>>     CID 1537086:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing "client", which is known to be "NULL".
654     	TAILQ_FOREACH (info, &client->gr_info_queue, gr_info) {
655     		if (info->vrf_id == vrf_id)
656     			break;
657     	}
658     
659     	if (info == NULL)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DsePu_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTxTZ16v3MiRPcBOO0yDyHTmmRMigqU732pFUKv-2B7B5hsxIS0YGGIUpkRcuoEb-2Buw02zlRrDTj28QvitGuizWhAmLOR-2B-2BJ3nSk4-2Bkw3nXjJCm2lOAO49dIpfWLbX2VASDX57-2B5KV2KxqcB-2FridO1z2RtWnMcFG07Cs7-2F3o8Z8S-2FUPQ-3D-3D




More information about the dev mailing list