New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Sep 17 09:25:45 UTC 2021


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.
63 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 1506902:  Error handling issues  (CHECKED_RETURN)
/zebra/zebra_fpm.c: 2000 in zfpm_init()


________________________________________________________________________________________________________
*** CID 1506902:  Error handling issues  (CHECKED_RETURN)
/zebra/zebra_fpm.c: 2000 in zfpm_init()
1994     
1995     	zfpm_stats_init(&zfpm_g->stats);
1996     	zfpm_stats_init(&zfpm_g->last_ivl_stats);
1997     	zfpm_stats_init(&zfpm_g->cumulative_stats);
1998     
1999     	memset(&ipv4ll_gateway, 0, sizeof(ipv4ll_gateway));
>>>     CID 1506902:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "inet_pton" without checking return value (as is done elsewhere 10 out of 11 times).
2000     	inet_pton(AF_INET, ipv4_ll_buf, &ipv4ll_gateway.ipv4);
2001     
2002     	install_node(&zebra_node);
2003     	install_element(ENABLE_NODE, &show_zebra_fpm_stats_cmd);
2004     	install_element(ENABLE_NODE, &clear_zebra_fpm_stats_cmd);
2005     	install_element(CONFIG_NODE, &fpm_remote_ip_cmd);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3D9fX8_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTxSBdxRj-2FL92KgaKg6IHfm7RDTis4kVpHWAz8O7-2FCyrHyanmZwuzNZNANKZqH-2FGj5pMEW266dlmLbj0SY9KgkHG7-2Bq-2BzMytYoEs1Fv-2F4-2B3hKwh-2B5z5YcdAPoPYqpcSacsHan1z9cU3rK1l3FSNIoyG-2Bc3NOvscIekwojc5K441Sfw-3D-3D




More information about the dev mailing list