diff options
author | Venkateswara Naralasetty <vnaralas@codeaurora.org> | 2018-04-25 11:36:40 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-27 14:24:25 +0300 |
commit | 2f177c1628c3f54cdfcc8093cd4b5297f4baeec4 (patch) | |
tree | 6399bb34bb6c4ac5d1dc5a31c87251b2f7bb9f37 /drivers/net/wireless/ath/trace.c | |
parent | 51c12756de427ee0ff90e2f00e121d2f5311c140 (diff) | |
download | kernel_replicant_linux-2f177c1628c3f54cdfcc8093cd4b5297f4baeec4.tar.gz kernel_replicant_linux-2f177c1628c3f54cdfcc8093cd4b5297f4baeec4.tar.bz2 kernel_replicant_linux-2f177c1628c3f54cdfcc8093cd4b5297f4baeec4.zip |
ath10k: fix information leak in debugfs
During write to some of debugfs in ath10k, few variables exposing stack
data when process user input. which leads to possible information leak.
This patch fix this issue by initializing buffer and checks
the return valure of 'simple_write_to_buffer'.
Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/trace.c')
0 files changed, 0 insertions, 0 deletions