Re: [PATCH v2 2/2] wifi: mwifiex: Annotate mwifiex_ie_types_wildcard_ssid_params with __counted_by()

2024-10-15 Thread Brian Norris
Hi Alper, On Tue, Oct 08, 2024 at 01:20:55AM +0300, Alper Nebi Yasak wrote: > Add the __counted_by compiler attribute to the flexible array member > `ssid` to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and > CONFIG_FORTIFY_SOURCE. > > Signed-off-by: Alper Nebi Yasak > --- > I've mimi

Re: [PATCH v2 1/2] wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()

2024-10-15 Thread Brian Norris
so it doesn't need to be changed. > > Fixes: 5e6e3a92b9a4 ("wireless: mwifiex: initial commit for Marvell mwifiex > driver") > Signed-off-by: Alper Nebi Yasak For patch 1: Acked-by: Brian Norris

Re: [PATCH][next] wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()

2024-08-22 Thread Brian Norris
t; drivers/net/wireless/marvell/mwifiex/scan.c:2239 > mwifiex_cmd_802_11_scan_ext+0x83/0x90 [mwifiex] > > Reported-by: Andy Shevchenko > Closes: > https://lore.kernel.org/linux-hardening/zszngfnewocpd...@black.fi.intel.com/ > Signed-off-by: Gustavo A. R. Silva Acked-by: Brian Norris