New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Thu Jul 20 12:35:13 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 1566396:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1566396:  Null pointer dereferences  (FORWARD_NULL)
/pbrd/pbr_vty_clippy.c: 163 in pbr_map_match_vlan_tag()
157     #if 0 /* anything that can fail? */
158     	if (_failcnt)
159     		return CMD_WARNING;
160     #endif
161     #endif
162     
>>>     CID 1566396:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "tag_type" to "pbr_map_match_vlan_tag_magic", which dereferences it.
163     	return pbr_map_match_vlan_tag_magic(self, vty, argc, argv, no, tag_type);
164     }
165     
166     /* pbr_set_table_range => "pbr table range (10000-4294966272)$lb (10000-4294966272)$ub" */
167     DEFUN_CMD_FUNC_DECL(pbr_set_table_range)
168     #define funcdecl_pbr_set_table_range static int pbr_set_table_range_magic(\


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DS5DU_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTx6M-2BuilzMOpc9ZA6LqIREZMG3xYC9SIt2JD691JjQe2oBSXt6YEIy6UssN2mK5R9uOUgcOK1axCmVBP-2BC9LwmOxjH8LnaZl-2B1k6pPIBPXsrUNSZhpCYEU-2FENkUDmbfknQ0jf6xJuNaHvU8UnwbPJVweOXWS9dWs0xgLCdCPKxAeQ-3D-3D




More information about the dev mailing list