]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Remove VLA usage on nonce
authorKees Cook <keescook@chromium.org>
Mon, 25 Jun 2018 23:55:05 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:39:52 +0000 (10:39 +0900)
commiteab4df4789144d72e6e179d35d9b862173b325c5
treec21564c804d04faea29ec0dbe970fa9e9a2d7f27
parent80ec9d5b8b304ec21b740fedc510de702dbb1569
net/tls: Remove VLA usage on nonce

It looks like the prior VLA removal, commit 38103aa48b4f ("net/tls: Remove
VLA usage"), and a new VLA addition, commit c74d3521d468a ("tls: RX path
for ktls"), passed in the night. This removes the newly added VLA, which
happens to have its bounds based on the same max value.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c