[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZP7fj1LW3YLu2LrM@duo.ucw.cz>
Date: Mon, 11 Sep 2023 11:36:15 +0200
From: Pavel Machek <pavel@...x.de>
To: Sasha Levin <sashal@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
"GONG, Ruiqi" <gongruiqi1@...wei.com>, GONG@...r.kernel.org,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
Kees Cook <keescook@...omium.org>, Florian Westphal <fw@...len.de>,
pablo@...filter.org, kadlec@...filter.org, roopa@...dia.com,
razor@...ckwall.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org
Subject: Re: [PATCH AUTOSEL 4.14 6/8] netfilter: ebtables: fix fortify
warnings in size_entry_mwt()
Hi!
> [ Upstream commit a7ed3465daa240bdf01a5420f64336fee879c09d ]
>
> When compiling with gcc 13 and CONFIG_FORTIFY_SOURCE=y, the following
> warning appears:
>
> In function ‘fortify_memcpy_chk’,
> inlined from ‘size_entry_mwt’ at net/bridge/netfilter/ebtables.c:2118:2:
> ./include/linux/fortify-string.h:592:25: error: call to ‘__read_overflow2_field’
> declared with attribute warning: detected read beyond size of field (2nd parameter);
> maybe use struct_group()? [-Werror=attribute-warning]
> 592 | __read_overflow2_field(q_size_field, size);
> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is not queued for 4.19. Mistake?
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists