Thread (5 messages) flat view 5 messages, 2 authors, 2021-01-27

Re: [dpdk-dev] [PATCH 2/2] crypto/dpaa2_sec: fix if check on memory allocation

From: Akhil Goyal <hidden>
Date: 2021-01-27 19:53:05

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@nxp.com
---
Signed-off missing. Will add it while merging in crypto tree.

Acked-by: Akhil Goyal <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help