Re: [PATCH net-next] net/tls: Remove VLA usage on nonce

From: David Miller
Date: Tue Jun 26 2018 - 21:41:09 EST


From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Mon, 25 Jun 2018 16:55:05 -0700

> 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@xxxxxxxxxxxx>

Applied, thanks Kees.