summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2011-03-28 21:47:30 +0200
committerDavid S. Miller <davem@davemloft.net>2011-03-29 08:34:52 +0200
commite2b19125e94124daaeda1ddcf9b85b04575ad86f (patch)
treeee670f037ea5b3826731ea5169f1afe94b925f16 /net/core
parentxfrm: Assign esn pointers when cloning a state (diff)
downloadlinux-e2b19125e94124daaeda1ddcf9b85b04575ad86f.tar.xz
linux-e2b19125e94124daaeda1ddcf9b85b04575ad86f.zip
xfrm: Check for esn buffer len in xfrm_new_ae
In xfrm_new_ae() we may overwrite the allocated esn replay state buffer with a wrong size. So check that the new size matches the original allocated size and return an error if this is not the case. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions