Thread (4 messages) 4 messages, 3 authors, 3d ago

Re: [PATCH] netfilter: x_tables: replace strlcat() with snprintf()

From: Florian Westphal <fw@strlen.de>
Date: 2026-07-01 06:31:16
Also in: linux-hardening, lkml, netfilter-devel

Ian Bridges [off-list ref] wrote:
I learned something new today, thanks. I'll use the first form in v2.
quoted
FORMAT_TABLES should also be FORMAT_NAMES.
No. The name is fine.
The macro is already named FORMAT_TABLES today, so that rename would
be a cleanup of pre-existing code rather than part of the strlcat
conversion. I'm happy to fold it into v2 if a maintainer is fine
including the tidy-up in this patch.
No need for a v2, I mangled this patch locally already to use
"%s_FOO" in FORMAT_FOO.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help