miaoqing pan <miaoqing@xxxxxxxxxxxxxx> wrote: > When the user sets count to zero the string buffer would remain > completely uninitialized which causes the kernel to parse its > own stack data, potentially leading to an info leak. In addition > to that, the string might be not terminated properly when the > user data does not contain a 0-terminator. > > Signed-off-by: Miaoqing Pan <miaoqing@xxxxxxxxxxxxxx> > Reviewed-by: Christoph Böhmwalder <christoph@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. ee0a47186e2f ath9k: fix tx99 potential info leak -- https://patchwork.kernel.org/patch/9972889/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches