[PATCH AUTOSEL for 4.14 132/135] ath9k: fix tx99 potential info leak

2017-12-07 Thread alexander . levin
From: Miaoqing Pan [ Upstream commit ee0a47186e2fa9aa1c56cadcea470ca0ba8c8692 ] 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

[PATCH AUTOSEL for 4.14 132/135] ath9k: fix tx99 potential info leak

2017-12-07 Thread alexander . levin
From: Miaoqing Pan [ Upstream commit ee0a47186e2fa9aa1c56cadcea470ca0ba8c8692 ] 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