On Thu, Sep 14, 2017 at 05:10:28PM +0200, Stephan Müller wrote:
> During the change to use aligned buffers, the deallocation code path was
> not updated correctly. The current code tries to free the aligned buffer
> pointer and not the original buffer pointer as it is supposed to.
> 
> Thus, the code is updated to free the original buffer pointer and set
> the aligned buffer pointer that is used throughout the code to NULL.
> 
> Fixes: 3cfc3b9721123 ("crypto: drbg - use aligned buffers")
> CC: <sta...@vger.kernel.org>
> CC: Herbert Xu <herb...@gondor.apana.org.au>
> Signed-off-by: Stephan Mueller <smuel...@chronox.de>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to