Re: [dpdk-dev] [PATCH] examples/fips_validation: fix null pointer dereferences

2019-09-30 Thread Akhil Goyal
> > One issue caught by Coverity 343408 > *deref_parm: Directly dereferencing parameter val->val. > > In writeback_tdes_hex_str(), tmp_val is initialised to null. > tmp_val.val is updated only if keys are found. > If keys are not found,it doesn't fails but continues > to invoke writeback_hex_s

[dpdk-dev] [PATCH] examples/fips_validation: fix null pointer dereferences

2019-09-24 Thread Chaitanya Babu Talluri
One issue caught by Coverity 343408 *deref_parm: Directly dereferencing parameter val->val. In writeback_tdes_hex_str(), tmp_val is initialised to null. tmp_val.val is updated only if keys are found. If keys are not found,it doesn't fails but continues to invoke writeback_hex_str(),where val->val