[Bug 980] bnxt: use of uninitalized data
bugzilla at dpdk.org
bugzilla at dpdk.org
Thu Mar 24 16:14:39 CET 2022
https://bugs.dpdk.org/show_bug.cgi?id=980
Bug ID: 980
Summary: bnxt: use of uninitalized data
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: ajit.khaparde at broadcom.com
Reporter: david.marchand at redhat.com
CC: dev at dpdk.org
Target Milestone: ---
This has been reported by covscan in our internal CI for v21.11:
1. dpdk-21.11/drivers/net/bnxt/tf_ulp/ulp_mapper.c:1745: var_decl: Declaring
variable "fid_parms" without initializer.
8. dpdk-21.11/drivers/net/bnxt/tf_ulp/ulp_mapper.c:1783: uninit_use_in_call:
Using uninitialized value "fid_parms.resource_sub_type" when calling
"ulp_mapper_fdb_opc_process".
9. dpdk-21.11/drivers/net/bnxt/tf_ulp/ulp_mapper.c:1783: uninit_use_in_call:
Using uninitialized value "fid_parms.fdb_flags" when calling
"ulp_mapper_fdb_opc_process".
# 1781| ulp_flow_db_shared_session_set(&fid_parms,
tbl->shared_session);
# 1782|
# 1783|-> rc = ulp_mapper_fdb_opc_process(parms, tbl, &fid_parms);
# 1784| if (rc)
# 1785| BNXT_TF_DBG(ERR, "Fail to link res to flow rc = %d\n",
rc);
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the dev
mailing list