[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YEYK1IlIo39aZLT4@hog>
Date: Mon, 8 Mar 2021 12:30:28 +0100
From: Sabrina Dubroca <sd@...asysnail.net>
To: netdev@...r.kernel.org
Cc: dsahern@...il.com, stephen@...workplumber.org,
Paul Wouters <pwouters@...hat.com>
Subject: Re: [PATCH iproute2] ip: xfrm: add NUL character to security context
name before printing
Hi Stephen/David,
2021-02-16, 17:50:58 +0100, Sabrina Dubroca wrote:
> Security context names are not guaranteed to be NUL-terminated by the
> kernel, so we can't just print them using %s directly. The length of
> the string is capped by the size of the netlink attribute (u16), so it
> will always fit within 65535 bytes.
>
> While at it, factor that out to a separate function, since the exact
> same code is used to print the security context for both policies and
> states.
This patch ended up with "Changes Requested" in patchwork [1], even though
there has been no reply to it. Do I need to resend it?
[1] https://patchwork.kernel.org/project/netdevbpf/patch/11af39932b3896cf1a560059bcbd24194e7f33bd.1613473397.git.sd@queasysnail.net/
Thanks,
--
Sabrina
Powered by blists - more mailing lists