01c65002b7
Coverity complains that ctrl_flags is set to NULL at the start
of the function and it may not have been set before there is a
jump to fc_success and it is dereferenced.
Check for NULL before dereference.
312fc_success:
CID 344983 (#1 of 1): Explicit null dereferenced
(FORWARD_NULL)7. var_deref_op: Dereferencing null pointer ctrl_flags.
313 *ctrl_flags = rte_cpu_to_be_64(*ctrl_flags);
Coverity issue: 344983
Fixes:
|
||
---|---|---|
.. | ||
cpt_common.h | ||
cpt_hw_types.h | ||
cpt_mcode_defines.h | ||
cpt_pmd_logs.h | ||
cpt_pmd_ops_helper.c | ||
cpt_pmd_ops_helper.h | ||
cpt_ucode_asym.h | ||
cpt_ucode.h | ||
Makefile | ||
meson.build | ||
rte_common_cpt_version.map |