[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161002143711.GA18268@gondor.apana.org.au>
Date: Sun, 2 Oct 2016 22:37:11 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jan Stancek <jstancek@...hat.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
marcelo.cerri@...onical.com
Subject: Re: [PATCH] crypto: testmgr - add guard to dst buffer for
ahash_export
On Wed, Sep 28, 2016 at 04:38:37PM +0200, Jan Stancek wrote:
> Add a guard to 'state' buffer and warn if its consistency after
> call to crypto_ahash_export() changes, so that any write that
> goes beyond advertised statesize (and thus causing potential
> memory corruption [1]) is more visible.
>
> [1] https://marc.info/?l=linux-crypto-vger&m=147467656516085
>
> Signed-off-by: Jan Stancek <jstancek@...hat.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: Marcelo Cerri <marcelo.cerri@...onical.com>
Patch applied. Thanks.
--
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
Powered by blists - more mailing lists