From: Stephen Hemminger <stephen@networkplumber.org>
To: Dave Seddon <dave.seddon.ca@gmail.com>
Cc: netdev@vger.kernel.org, David Ahern <dsahern@kernel.org>
Subject: Re: [PATCH iproute2] rt_names: do not write past the end of the name tables
Date: Tue, 24 Nov 2026 16:51:02 -0800 [thread overview]
Message-ID: <20261124165102.796fbc49@phoenix.local> (raw)
In-Reply-To: <20261124055549.3390238-1-dave.seddon.ca@gmail.com>
On Mon, 23 Nov 2026 21:55:49 -0800
Dave Seddon <dave.seddon.ca@gmail.com> wrote:
> rtnl_tab_initialize() accepts id == size, so an id of 256 in rt_protos,
> rt_scopes, rt_realms, rt_dsfield or rt_addrprotos writes one entry past
> the 256-entry table. Use >=.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Dave Seddon <dave.seddon.ca@gmail.com>
> ---
Iproute2 follows kernel conventions
and the kernel maintainers decided to drop use of Assisted-by.
next prev parent reply other threads:[~2026-11-25 0:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 5:55 [PATCH iproute2] rt_names: do not write past the end of the name tables Dave Seddon
2026-11-25 0:51 ` Stephen Hemminger [this message]
2026-11-27 16:10 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261124165102.796fbc49@phoenix.local \
--to=stephen@networkplumber.org \
--cc=dave.seddon.ca@gmail.com \
--cc=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.