New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Sat Feb 3 00:22:08 UTC 2024


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 1580028:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1580028:  Null pointer dereferences  (NULL_RETURNS)
/staticd/static_zebra.c: 170 in zebra_connected()
164     
165     static void zebra_connected(struct zclient *zclient)
166     {
167     	zebra_route_notify_send(ZEBRA_ROUTE_NOTIFY_REQUEST, zclient, true);
168     	zclient_send_reg_requests(zclient, VRF_DEFAULT);
169     
>>>     CID 1580028:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "NULL" "vrf_lookup_by_id(0U)" when calling "static_fixup_vrf_ids".
170     	static_fixup_vrf_ids(vrf_lookup_by_id(VRF_DEFAULT));
171     }
172     
173     /* API to check whether the configured nexthop address is
174      * one of its local connected address or not.
175      */


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BoAJF92cCodBN9BBnDbw-2FFg-3DA4KY_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTy3EM8aVhMFNb2NFl7lft-2FznlPxzq4Yvrxn6LMBQI05BaM17vm3B1KURCYJsGNKalahsR-2BxBSMOQ0fVqbEoh7TW7nTZyU4TtqD0i7KY7cXUeOx43YshCA7VxSQKk0qvYCQXc-2Bpb2HQvorToSrem15QmQWy2s8Ab70RrC978K3jzuORtvuNKG3EWSupy8-2BwMJIA-3D




More information about the dev mailing list