commit | b9e9dead05b19e7f52c9aa00cd3a5b7ac4fcacf4 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 19 12:39:04 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 19 12:39:04 2005 -0700 |
tree | 89852e61eaea7cd88c652e91b594fd8f4c312a9d | |
parent | 8be58932ca596972e4953ae980d8bc286857cae8 [diff] |
[IPSEC]: Fixed alg_key_len usage in attach_one_algo The variable alg_key_len is in bits and not bytes. The function attach_one_algo is currently using it as if it were in bytes. This causes it to read memory which may not be there. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>