Re: [PATCH 4/9] fortify: Add protection for strlcat()

From: Kees Cook
Date: Thu Apr 06 2023 - 18:58:20 EST


On Thu, Apr 06, 2023 at 03:32:40PM +0200, Miguel Ojeda wrote:
> On Thu, Apr 6, 2023 at 2:02 AM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> >
> > + size_t p_size = __member_size(p);
> > + size_t q_size = __member_size(q);
>
> Since I noticed the patches appear to go for const-correctness even
> for parameters (which is great, I support it), these could be `const`
> too.

Will do. Thanks!

--
Kees Cook