New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Mar 24 21:19:29 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.
1 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 1536876:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim_zebra.c: 80 in pim_zebra_interface_vrf_update()


________________________________________________________________________________________________________
*** CID 1536876:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim_zebra.c: 80 in pim_zebra_interface_vrf_update()
74     	pim_ifp = ifp->info;
75     	if (!pim_ifp)
76     		return 0;
77     
78     	pim_ifp->pim->mcast_if_count--;
79     	pim_ifp->pim = pim;
>>>     CID 1536876:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing "pim_ifp->pim", which is known to be "NULL".
80     	pim_ifp->pim->mcast_if_count++;
81     
82     	return 0;
83     }
84     
85     #ifdef PIM_DEBUG_IFADDR_DUMP


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DCY1Z_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTylkr98C5OcDjy1nHTWcM4sw8HZ7b9Q1H6G4nKr96MFgxaQUVkfZKJ0Z4jqKJJuVMwfJv0U3NShHH1dMXCsgtBZZQ7tM0-2BOJQfV9NMpEAqI6VPRTDPolulA6B-2Bvs2T6G0OAetZhJnheNWAO56aooCGRpd-2BtG7Jhe64D0rJ0-2BWZ-2BrA-3D-3D




More information about the dev mailing list