Re: [PATCH][next] wifi: rtw89: coex: Fix -Wstringop-overflow warnings in _append_tdma()

From: Gustavo A. R. Silva
Date: Mon Nov 13 2023 - 20:24:21 EST




On 11/13/23 18:37, Ping-Ke Shih wrote:


-----Original Message-----
From: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>
Sent: Tuesday, November 14, 2023 3:36 AM
To: Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Kalle Valo <kvalo@xxxxxxxxxx>
Cc: linux-wireless@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Gustavo A. R. Silva
<gustavoars@xxxxxxxxxx>; linux-hardening@xxxxxxxxxxxxxxx
Subject: [PATCH][next] wifi: rtw89: coex: Fix -Wstringop-overflow warnings in _append_tdma()

Copy a couple of structures directly, instead of using `memcpy()`.


wireless-next has taken my patch [1] that is identical to yours.

Great!

I had mine ready on Oct 31, but I was waiting for the merge window to close
before sending it.

Glad to see that the issue is fixed already. :)

Thanks
--
Gustavo


[1] https://lore.kernel.org/all/20231102003716.25815-1-pkshih@xxxxxxxxxxx/