Re: [PATCH] wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
From: Dmitry Antipov
Date: Tue Sep 17 2024 - 13:02:27 EST
On 9/17/24 7:30 PM, Andy Shevchenko wrote:
This hunk has to be carefully checked by wireless people. I'm not sure
that we need + 1 here.
Well, +1 looks redundant here indeed.
And if you touch this anyway, please also consider '__counted_by(max_ssid_length)'
for 'ssid' (and test your kernel with CONFIG_KASAN enabled of course).
Dmitry