Re: [PATCH] net/tls: Remove VLA usage

2018-04-12 Thread David Miller
From: Kees Cook Date: Tue, 10 Apr 2018 17:52:34 -0700 > 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] >

Re: [PATCH] net/tls: Remove VLA usage

2018-04-12 Thread David Miller
From: Kees Cook Date: Tue, 10 Apr 2018 17:52:34 -0700 > 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] >

Re: [PATCH] net/tls: Remove VLA usage

2018-04-11 Thread Dave Watson
On 04/10/18 05:52 PM, Kees Cook wrote: > 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] >

Re: [PATCH] net/tls: Remove VLA usage

2018-04-11 Thread Dave Watson
On 04/10/18 05:52 PM, Kees Cook wrote: > 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] >

[PATCH] net/tls: Remove VLA usage

2018-04-10 Thread Kees Cook
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=qpxydaacu1rq...@mail.gmail.com Signed-off-by: Kees

[PATCH] net/tls: Remove VLA usage

2018-04-10 Thread Kees Cook
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=qpxydaacu1rq...@mail.gmail.com Signed-off-by: Kees