[dpdk-dev] [PATCH] crypto/caam_jr: fix memory leak and illegal memory access
Akhil Goyal
akhil.goyal at nxp.com
Tue Apr 16 15:47:29 CEST 2019
> Opendir() returns allocated storage which must be freed at the
> end of function or in case any return on error. so freeing the
> allocation using closedir in an error case.
>
> Coverity issue: 323507
> Coverity issue: 325880
> Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specific operations")
> Cc: g.singh at nxp.com
>
> Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
> ---
> drivers/crypto/caam_jr/caam_jr_uio.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
More information about the dev
mailing list