Re: [PATCH] crypto: user - fix memory leak in crypto_report
From: Herbert Xu
Date: Thu Oct 10 2019 - 08:58:18 EST
On Fri, Oct 04, 2019 at 02:29:16PM -0500, Navid Emamdoost wrote:
> In crypto_report, a new skb is created via nlmsg_new(). This skb should
> be released if crypto_report_alg() fails.
>
> Fixes: a38f7907b926 ("crypto: Add userspace configuration API")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> ---
> crypto/crypto_user_base.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt