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

David Marchand david.marchand at redhat.com
Sat Oct 31 18:09:21 CET 2020


On Fri, Oct 30, 2020 at 4:37 PM Ciara Power <ciara.power at intel.com> 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.
>
> Coverity issue: 363463
> Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list")
>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks.

-- 
David Marchand



More information about the dev mailing list