New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Nov 10 10:16:08 UTC 2021


Hi,

Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.

3 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
2 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 3 of 3 defect(s)


** CID 1509886:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1509886:  Null pointer dereferences  (FORWARD_NULL)
/bfdd/bfdd_vty_clippy.c: 214 in bfd_show_peer_counters()
208     #if 1 /* anything that can fail? */
209     	if (_failcnt)
210     		return CMD_WARNING;
211     #endif
212     #endif
213     
>>>     CID 1509886:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "peer_str" to "bfd_show_peer_counters_magic", which dereferences it.
214     	return bfd_show_peer_counters_magic(self, vty, argc, argv, vrf_name, label, peer, peer_str, local, local_str, ifname);
215     }
216     
217     /* bfd_show_peers_counters => "show bfd [vrf NAME] peers counters [json]" */
218     DEFUN_CMD_FUNC_DECL(bfd_show_peers_counters)
219     #define funcdecl_bfd_show_peers_counters static int bfd_show_peers_counters_magic(\

** CID 1509885:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1509885:  Null pointer dereferences  (FORWARD_NULL)
/bfdd/bfdd_vty_clippy.c: 344 in bfd_clear_peer_counters()
338     #if 1 /* anything that can fail? */
339     	if (_failcnt)
340     		return CMD_WARNING;
341     #endif
342     #endif
343     
>>>     CID 1509885:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "peer_str" to "bfd_clear_peer_counters_magic", which dereferences it.
344     	return bfd_clear_peer_counters_magic(self, vty, argc, argv, vrfname, label, peer, peer_str, local, local_str, ifname);
345     }
346     
347     /* bfd_show_peers_brief => "show bfd [vrf <NAME$vrfname>] peers brief [json]" */
348     DEFUN_CMD_FUNC_DECL(bfd_show_peers_brief)
349     #define funcdecl_bfd_show_peers_brief static int bfd_show_peers_brief_magic(\

** CID 1472631:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1472631:  Null pointer dereferences  (FORWARD_NULL)
/bfdd/bfdd_vty_clippy.c: 128 in bfd_show_peer()
122     #if 1 /* anything that can fail? */
123     	if (_failcnt)
124     		return CMD_WARNING;
125     #endif
126     #endif
127     
>>>     CID 1472631:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "peer_str" to "bfd_show_peer_magic", which dereferences it.
128     	return bfd_show_peer_magic(self, vty, argc, argv, vrf_name, label, peer, peer_str, local, local_str, ifname);
129     }
130     
131     /* bfd_show_peer_counters => "show bfd [vrf NAME$vrf_name] peer <WORD$label|<A.B.C.D|X:X::X:X>$peer [{multihop|local-address <A.B.C.D|X:X::X:X>$local|interface IFNAME$ifname}]> counters [json]" */
132     DEFUN_CMD_FUNC_DECL(bfd_show_peer_counters)
133     #define funcdecl_bfd_show_peer_counters static int bfd_show_peer_counters_magic(\


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DsETi_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTzTVj50CY-2BnkG2cmXVyUyptc5BuNjp9ZwQBIAOw2uJeaNg8iO5N50u4eCXR-2BPKSWT1KVLIg-2FfvfP65eHaCEIvkXXkJuYnDMW-2BLnyroeQJJ3J8SyLACAA-2FTHpIhEMCNgX5jYQSdX3HpGMjOwfZQiXJidLFoaNVoJR-2F5LisC140sfgA-3D-3D




More information about the dev mailing list