Re: ath10k: avoid possible string overflow

2018-04-10 Thread Kalle Valo
t;kv...@codeaurora.org> Patch applied to ath-next branch of ath.git, thanks. 6707ba0105a2 ath10k: avoid possible string overflow -- https://patchwork.kernel.org/patch/10314201/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

[PATCH] ath10k: avoid possible string overflow

2018-03-28 Thread Arnd Bergmann
The way that 'strncat' is used here raised a warning in gcc-8: drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_tpc_stats_final_disp_tables': drivers/net/wireless/ath/ath10k/wmi.c:4649:4: error: 'strncat' output truncated before terminating nul copying as many bytes from a string