[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202112140908.80D89AC9@keescook>
Date: Tue, 14 Dec 2021 09:08:39 -0800
From: Kees Cook <keescook@...omium.org>
To: Xiu Jianfeng <xiujianfeng@...wei.com>
Cc: paul@...l-moore.com, eparis@...hat.com, linux-audit@...hat.com,
linux-kernel@...r.kernel.org, wangweiyang2@...wei.com,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH -next] audit: use struct_size() helper in kmalloc()
On Tue, Dec 14, 2021 at 07:48:54PM +0800, Xiu Jianfeng wrote:
> Make use of struct_size() helper instead of an open-coded calucation.
>
> Link: https://github.com/KSPP/linux/issues/160
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists