[IPSEC]: Verify key payload in verify_one_algo
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 19 May 2005 19:39:49 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 19:39:49 +0000 (12:39 -0700)
commit31c26852cb2ac77f1d4acb37bcf31f165fd5eb68
treece2e98c79f4d9051baff55c5f5fdb90defb9e18e
parentb9e9dead05b19e7f52c9aa00cd3a5b7ac4fcacf4
[IPSEC]: Verify key payload in verify_one_algo

We need to verify that the payload contains enough data so that
attach_one_algo can copy alg_key_len bits from the payload.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c