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

From: Linus Walleij
Date: Sat Jan 26 2019 - 08:21:35 EST


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>

Yours,
Linus Walleij