]> asedeno.scripts.mit.edu Git - linux.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)
commit3463e51dc337ddd6e608fd595130398e9c60680f
treec21564c804d04faea29ec0dbe970fa9e9a2d7f27
parent27a2628b3c24ce8ef23bd393f5514f8f45188f08
net/tls: Remove VLA usage on nonce

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