New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Jun 10 18:24:11 UTC 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.
2 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 1495641:  Null pointer dereferences  (REVERSE_INULL)
/zebra/zebra_rnh.c: 1072 in send_client()


________________________________________________________________________________________________________
*** CID 1495641:  Null pointer dereferences  (REVERSE_INULL)
/zebra/zebra_rnh.c: 1072 in send_client()
1066     
1067     	client->nh_last_upd_time = monotime(NULL);
1068     	client->last_write_cmd = cmd;
1069     	return zserv_send_message(client, s);
1070     
1071     failure:
>>>     CID 1495641:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "s" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
1072     	if (s)
1073     		stream_free(s);
1074     	return -1;
1075     }
1076     
1077     static void print_nh(struct nexthop *nexthop, struct vty *vty)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teEwtXAn74UdOrNjckt5W0LJ0CDxXoQFnSJSV51LhpQIExOPuUyDQ-2BIaYqt88E1d5-2F-2Fc-3DFn6__O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTwZcCnvWtbCS7qclA4XQ3YH-2FGBeklUe9BBjnXlrzdjgbF8aLwjf4I52qcbBgFsXIC7-2BjXlXLguYnWQGnd-2BCbiSWmMirOu1SwzJtotvBUqputnQHZGuQQS5lsoOoNK5sffK8TgDqYm6umR64GMUYxMSkiLE2QGxLj3NDKNiIXIAtWg-3D-3D




More information about the dev mailing list