aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMax VA <[email protected]>2021-10-25 17:31:53 +0200
committerDavid S. Miller <[email protected]>2021-10-26 13:43:07 +0100
commitfa40d9734a57bcbfa79a280189799f76c88f7bb0 (patch)
tree2502de8e8e71fbaba8c5cb8611ec2ba84c225451 /lib/test_overflow.c
parent2195f2062e4cc93870da8e71c318ef98a1c51cef (diff)
tipc: fix size validations for the MSG_CRYPTO type
The function tipc_crypto_key_rcv is used to parse MSG_CRYPTO messages to receive keys from other nodes in the cluster in order to decrypt any further messages from them. This patch verifies that any supplied sizes in the message body are valid for the received message. Fixes: 1ef6f7c9390f ("tipc: add automatic session key exchange") Signed-off-by: Max VA <[email protected]> Acked-by: Ying Xue <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Acked-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions