Re: [PATCH 0/2] Fix NULL pointer dereference and use struct_size()

From: Gustavo A. R. Silva
Date: Sat Jan 26 2019 - 08:50:02 EST




On 1/26/19 7:20 AM, Linus Walleij wrote:
> On Tue, Jan 22, 2019 at 5:55 PM Gustavo A. R. Silva
> <gustavo@xxxxxxxxxxxxxx> wrote:
>
>> The first patch in this series fixes a potential NULL pointer
>> dereference by adding a NULL check. A tag for stable has been
>> added for this patch.
>>
>> The second patch promotes the use of struct_size() in devm_kzalloc().
>
> Both patches:
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>

Thanks, Linus.

--
Gustavo