Re: [dpdk-dev] [PATCH v2] examples/fips_validation: fix checking return value

2020-10-31 Thread David Marchand
On Fri, Oct 30, 2020 at 4:37 PM Ciara Power wrote: > > The return value was not being checked when calling the > get_writeback_data function in the AES test case. On failure, this led > to a NULL dereference when using memcpy later. The return value is now > checked to avoid this NULL dereference.

[dpdk-dev] [PATCH v2] examples/fips_validation: fix checking return value

2020-10-30 Thread Ciara Power
The return value was not being checked when calling the get_writeback_data function in the AES test case. On failure, this led to a NULL dereference when using memcpy later. The return value is now checked to avoid this NULL dereference. Coverity issue: 363463 Fixes: 952e10cdad5e ("examples/fips_v