]> 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)
commit3248493c47348906aed5fa6c0da4a0d55b983bd1
treec21564c804d04faea29ec0dbe970fa9e9a2d7f27
parent865e588133a2b48c51d16b946e6ef5e5770a6f44
net/tls: Remove VLA usage on nonce

It looks like the prior VLA removal, commit 498943f70150 ("net/tls: Remove
VLA usage"), and a new VLA addition, commit 3ff4595c20b5a ("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