Re: [PATCH] docs: deprecated.rst: Update zero-length/one-element arrays section

From: Kees Cook
Date: Wed Sep 09 2020 - 13:12:40 EST


On Mon, Aug 31, 2020 at 08:09:49PM -0500, Gustavo A. R. Silva wrote:
> Update information in the zero-length and one-element arrays section
> and illustrate how to make use of the new flex_array_size() helper,
> together with struct_size() and a flexible-array member.
>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>

Looks great!

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook