[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230719185322.44255-1-kuniyu@amazon.com>
Date: Wed, 19 Jul 2023 11:53:20 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>
CC: Willem de Bruijn <willemdebruijn.kernel@...il.com>, Kees Cook
<keescook@...omium.org>, "Gustavo A. R. Silva" <gustavoars@...nel.org>,
"Breno Leitao" <leitao@...ian.org>, Kuniyuki Iwashima <kuniyu@...zon.com>,
"Kuniyuki Iwashima" <kuni1840@...il.com>, <netdev@...r.kernel.org>
Subject: [PATCH v1 net 0/2] net: Fix error/warning by -fstrict-flex-arrays=3
df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3") started applying
strict rules for standard string functions (strlen(), memcpy(), etc.) if
CONFIG_FORTIFY_SOURCE=y.
This series fixes two false positives caught by syzkaller.
Kuniyuki Iwashima (2):
af_unix: Fix fortify_panic() in unix_bind_bsd().
af_packet: Fix warning of fortified memcpy() in packet_getname().
net/packet/af_packet.c | 5 ++++-
net/unix/af_unix.c | 16 +++++++++++++---
2 files changed, 17 insertions(+), 4 deletions(-)
--
2.30.2
Powered by blists - more mailing lists