diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-07-08 17:21:21 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-07-08 17:21:21 +0800 |
commit | dc457e9ceb499dddffbc081ee12cd7183c2c4a18 (patch) | |
tree | 7b8b9b74b81e897a4558f87a6ad424832f27a63a /crypto/pcompress.c | |
parent | 8ab917010e95bf4db05457cc455b3e178787c1fb (diff) | |
download | linux-crypto-dc457e9ceb499dddffbc081ee12cd7183c2c4a18.tar.gz linux-crypto-dc457e9ceb499dddffbc081ee12cd7183c2c4a18.zip |
crypto: gf128mul - fix call to memset()
In gf128mul_lle() and gf128mul_bbe() r isn't completely initialized with
zero because the size argument passed to memset() is the size of the
pointer, not the structure it points to.
Luckily there are no in-kernel users of those functions so the ABI
change implied by this fix should break no existing code.
Based on a patch by the PaX Team.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: PaX Team <pageexec@freemail.hu>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions