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@xxxxxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: Marcelo Cerri <marcelo.cerri@xxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html