Re: [nft PATCH] segtree: Fix for variable-sized object may not be initialized

Phil Sutter
2026-03-20T11:32:05Z

On Fri, Mar 20, 2026 at 12:16:17PM +0100, Florian Westphal wrote:
> Phil Sutter <phil@nwl.cc> wrote:
> > Seen with gcc-11.5.0 on an aarch64 machine, build failed. Looking at the
> > code, r1len (or r1->len, actually) really seems variable. So use
> > memset() and fix build for that older compiler version at least.
>
> Thanks for fixing this.
>
> Acked-by: Florian Westphal <fw@strlen.de>

Patch applied, thanks for your review!