diff options
author | Kees Cook <keescook@chromium.org> | 2018-04-10 17:52:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-12 21:46:10 -0400 |
commit | b16520f7493d06d8ef6d4255bdfcf7a803d7874a (patch) | |
tree | b3ef990644cc23ce82112531b9737a7618e7d97e /drivers/isdn | |
parent | 08ea556e14b56e9a49b19abd8e39f0c9e05582f2 (diff) | |
download | lwn-b16520f7493d06d8ef6d4255bdfcf7a803d7874a.tar.gz lwn-b16520f7493d06d8ef6d4255bdfcf7a803d7874a.zip |
net/tls: Remove VLA usage
In the quest to remove VLAs from the kernel[1], this replaces the VLA
size with the only possible size used in the code, and adds a mechanism
to double-check future IV sizes.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions