New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Dec 2 15:08:24 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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1499854:  Error handling issues  (CHECKED_RETURN)
/zebra/dplane_fpm_nl.c: 1263 in fpm_process_queue()


________________________________________________________________________________________________________
*** CID 1499854:  Error handling issues  (CHECKED_RETURN)
/zebra/dplane_fpm_nl.c: 1263 in fpm_process_queue()
1257     
1258     		/* Dequeue next item or quit processing. */
1259     		ctx = dplane_ctx_dequeue(&fnc->ctxqueue);
1260     		if (ctx == NULL)
1261     			break;
1262     
>>>     CID 1499854:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "fpm_nl_enqueue" without checking return value (as is done elsewhere 4 out of 5 times).
1263     		fpm_nl_enqueue(fnc, ctx);
1264     
1265     		/* Account the processed entries. */
1266     		atomic_fetch_add_explicit(&fnc->counters.dplane_contexts, 1,
1267     					  memory_order_relaxed);
1268     		atomic_fetch_sub_explicit(&fnc->counters.ctxqueue_len, 1,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3D8zE0_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTwK7he4QvXHmjtCfhLsyaF5luWqCJehZfXK-2FG0Yc3a66-2BwRVZqAuh9I5OdRGHp7MG-2F8sMdtxEb20NN6i-2FfqjbHchO2nMTKVbRx7HrLnB6PAdybzt3H8I5UgFb2vmxpybCh2kFiHwNDqmvDwsEHxOVWOSduRMg0Aq3LJ8M2LkYuEki0av6kUd9FVjyEVmtSqA6Q-3D




More information about the dev mailing list