Re: [2.6 patch] crypto/aes.c: array overrun

From: Herbert Xu
Date: Tue Mar 14 2006 - 19:47:32 EST


On Wed, Mar 15, 2006 at 08:54:48AM +1000, David McCullough wrote:
>
> struct aes_ctx {
> int key_length;
> - u32 E[60];
> - u32 D[60];
> + u32 _KEYS[120];
> };

Looks good. Thanks for this David.

Could you please change the name from _KEYS to buf and patch the x86-64
version as well?

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/