summaryrefslogtreecommitdiff
path: root/drivers/mfd/pcf50633-adc.c
diff options
context:
space:
mode:
authorMiaoqing Pan <miaoqing@codeaurora.org>2017-09-27 04:13:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-20 12:05:01 +0300
commita815c0a370cf9bab9f209e11b954a63b419827ad (patch)
tree7b9fda2c84d9b1803df27dde47acfcf825ec3f88 /drivers/mfd/pcf50633-adc.c
parent26c66554d7bf86ca332200e77c3279c9a220bf27 (diff)
downloadlinux-a815c0a370cf9bab9f209e11b954a63b419827ad.tar.xz
ath9k: fix tx99 potential info leak
[ 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 might be not terminated properly when the user data does not contain a 0-terminator. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Reviewed-by: Christoph Böhmwalder <christoph@boehmwalder.at> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/pcf50633-adc.c')
0 files changed, 0 insertions, 0 deletions