Re: [PATCH] video: fbdev: fsl-diu-fb: Remove VLA usage

2018-07-24 Thread Bartlomiej Zolnierkiewicz
On Saturday, June 30, 2018 10:59:15 AM Timur Tabi wrote: > On 6/29/18 1:46 PM, Kees Cook wrote: > > In the quest to remove all stack VLA usage from the kernel[1], this moves > > the buffer off the stack (since it could be as much as 1024 bytes), and > > uses a new area in the cursor data

[PATCH] video: fbdev: fsl-diu-fb: Remove VLA usage

2018-07-01 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this moves the buffer off the stack (since it could be as much as 1024 bytes), and uses a new area in the cursor data structure. Additionally adds missed documentation and removes redundant assignments. [1]

Re: [PATCH] video: fbdev: fsl-diu-fb: Remove VLA usage

2018-06-30 Thread Timur Tabi
On 6/29/18 1:46 PM, Kees Cook wrote: In the quest to remove all stack VLA usage from the kernel[1], this moves the buffer off the stack (since it could be as much as 1024 bytes), and uses a new area in the cursor data structure. Additionally adds missed documentation and removes redundant