[dpdk-dev] [PATCH 2/2] crypto/dpaa2_sec: fix if check on memory allocation
Akhil Goyal
akhil.goyal at nxp.com
Wed Jan 27 20:53:00 CET 2021
> When key length is 0, zmalloc will return NULL pointor
> and in that case it should not return NOMEM.
> So in this patch, adding a check on key length.
>
> Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation")
> Cc: akhil.goyal at nxp.com
> ---
Signed-off missing. Will add it while merging in crypto tree.
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
More information about the dev
mailing list