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

Kees Cook keescook at chromium.org
Thu Aug 2 23:24:12 UTC 2018


On Fri, Jun 29, 2018 at 2:20 PM, Jordan Crouse <jcrouse at codeaurora.org> 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@mail.gmail.com
>
> Thanks for doing this.
>
> Acked-by: Jordan Crouse <jcrouse at codeaurora.org>

Hi Rob,

Is this something you can take via your tree?

Thanks,

-Kees

-- 
Kees Cook
Pixel Security


More information about the dri-devel mailing list