summaryrefslogtreecommitdiff
path: root/arch/arm64/net
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-07-28 01:36:11 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-03 13:06:06 +0300
commitd6e43798b3d9cb8c59e1fccfaeec7cb396dc0699 (patch)
tree555f72d96ffaceafe726c15b10f529eed89bf54b /arch/arm64/net
parent35f7d5225ffcbf1b759f641aec1735e3a89b1914 (diff)
downloadlinux-d6e43798b3d9cb8c59e1fccfaeec7cb396dc0699.tar.xz
crypto: dh - make crypto_dh_encode_key() make robust
Make it return -EINVAL if crypto_dh_key_len() is incorrect rather than overflowing the buffer. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/net')
0 files changed, 0 insertions, 0 deletions