[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202111181224.21692AAF@keescook>
Date: Thu, 18 Nov 2021 12:24:45 -0800
From: Kees Cook <keescook@...omium.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: Lennert Buytenhek <buytenh@...tstofly.org>,
Kalle Valo <kvalo@...eaurora.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
wengjianfeng <wengjianfeng@...ong.com>,
Lv Yunlong <lyl2019@...l.ustc.edu.cn>,
Arnd Bergmann <arnd@...db.de>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Allen Pais <allen.lkml@...il.com>,
Zheyu Ma <zheyuma97@...il.com>, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] mwl8k: Use struct_group() for memcpy() region
On Thu, Nov 18, 2021 at 08:45:22PM +0100, Johannes Berg wrote:
> On Thu, 2021-11-18 at 10:37 -0800, Kees Cook wrote:
> >
> > - __u8 key_material[MAX_ENCR_KEY_LENGTH];
> > - __u8 tkip_tx_mic_key[MIC_KEY_LENGTH];
> > - __u8 tkip_rx_mic_key[MIC_KEY_LENGTH];
> > + struct {
> > + __u8 key_material[MAX_ENCR_KEY_LENGTH];
> >
>
> That got one tab too many?
Whoops! Thanks, I will adjust. :)
--
Kees Cook
Powered by blists - more mailing lists