Re: [PATCH] drm/msm/adreno: Remove VLA usage

From: Kees Cook
Date: Thu Aug 02 2018 - 19:24:17 EST


On Fri, Jun 29, 2018 at 2:20 PM, Jordan Crouse <jcrouse@xxxxxxxxxxxxxx> wrote:
> On Fri, Jun 29, 2018 at 11:48:18AM -0700, Kees Cook wrote:
>> In the quest to remove all stack VLA usage from the kernel[1], this
>> switches to using a kasprintf()ed buffer. Return paths are updated
>> to free the allocation.
>>
>> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@xxxxxxxxxxxxxx
>
> Thanks for doing this.
>
> Acked-by: Jordan Crouse <jcrouse@xxxxxxxxxxxxxx>

Hi Rob,

Is this something you can take via your tree?

Thanks,

-Kees

--
Kees Cook
Pixel Security