[PATCH] wifi: ath12k: Reserve space for a string terminator

Jeff Johnson jeff.johnson at oss.qualcomm.com
Mon Oct 5 08:09:47 PDT 2026


On Sat, 03 Oct 2026 17:59:13 +0800, Jiale Yao wrote:
> ath12k_write_htt_stats_type() accepts count == size, which fills the
> zero-initialized buffer without a terminating NUL. sscanf() then reads
> beyond the buffer.
> 
> Reject input that leaves no room for the trailing NUL.
> 
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: Reserve space for a string terminator
      commit: 13b15eabe2c541b80406166964cdc8ccb5e9c32a

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list