On Thu, Dec 03, 2026 at 11:50:32AM -0500, Anggara Putra wrote:
> The TCP-AO key derivation input contains the six bytes of the > RFC 5926 label. Mark both fixed-width fields as __nonstring so GCC > can distinguish them from unterminated C strings. The serialized > input and its length stay the same for both address families. > > OpenAI Codex assisted with the patch, commit message, and local tests > using the public KSPP compiler diagnostics. > > Fixes: 068f5a009556 ("net/tcp-ao: Use crypto library API instead of > crypto_ahash") > Link: https://github.com/KSPP/linux/issues/382 > Link: https://github.com/KSPP/linux/issues/383 > Signed-off-by: Anggara Putra <angg…@gmail.com> > --- > The IPv4 and IPv6 TCP-AO objects matched their pre-patch x86-64 builds > byte for byte. The connect, self-connect and key-management kselftests > passed for both address families in QEMU.
This patch is corrupt and doesn't apply. The commit message also doesn't say anything about what the consequences of this issue were. It seems there were none, since -Wunterminated-string-initialization isn't enabled yet? If so, this probably shouldn't be marked as a bug fix. - Eric