New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Apr 25 21:19:03 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 1560845: Null pointer dereferences (REVERSE_INULL)
/ripd/rip_interface.c: 1114 in rip_interface_sync()
________________________________________________________________________________________________________
*** CID 1560845: Null pointer dereferences (REVERSE_INULL)
/ripd/rip_interface.c: 1114 in rip_interface_sync()
1108 void rip_interface_sync(struct interface *ifp)
1109 {
1110 struct rip_interface *ri;
1111
1112 ri = ifp->info;
1113 ri->ifp = ifp;
>>> CID 1560845: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "ri" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
1114 if (ri)
1115 ri->rip = ifp->vrf->info;
1116 }
1117
1118 /* Called when interface structure allocated. */
1119 static int rip_interface_new_hook(struct interface *ifp)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DmqLc_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTyz6t3WxBmM20m6JFG9f9Ycdl0SkaSr8GE-2FggS6croCrJFDHsf1NIal-2Ba86hqD7lY-2Bk22U4VIMoLkMMgjASPA8j9dkeQg6-2FiIa3ZMGj9AgNeC8ko-2Bzy7w02WqT4M6-2BmvaBkODEsXiGkTw08zZ-2BCGEks6TRPBQM7w-2FLA0LukJcEYWg-3D-3D
More information about the dev
mailing list