[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150910092654.GB28753@gondor.apana.org.au>
Date: Thu, 10 Sep 2015 17:26:54 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: LABBE Corentin <clabbe.montjoie@...il.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
maxime.ripard@...e-electrons.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] crypto: sun4i-ss Fix a possible driver hang with ciphers
On Wed, Sep 09, 2015 at 02:27:07PM +0200, LABBE Corentin wrote:
> The sun4i_ss_opti_poll function cipher data until the output miter have
> a length of 0.
> If the crypto API client, give more SGs than necessary this could result
> in an infinite loop.
> Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll().
>
> Signed-off-by: LABBE Corentin <clabbe.montjoie@...il.com>
Applied.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists