Subject: Re: [PATCH net-next 00/15] tools: ynl: stop using libmnl

From: Donald Hunter <[email-masked]>
Date: Mon, 26 Feb 2024 09:04:12 +0000

Jakub Kicinski <[email-masked]> writes:

> On Fri, 23 Feb 2024 16:26:33 +0000 Donald Hunter wrote:
>> Is the absence of buffer bounds checking intentional, i.e. relying on libasan?
>
> In ynl.c or the generated code?

I'm looking at ynl_attr_nest_start() and ynl_attr_put*() in ynl-priv.h
and there's no checks for buffer overrun. It is admittedly a big
buffer, with rx following tx, but still.