[RESEND] ath10k: fix out of bounds access to local buffer

Kalle Valo kvalo at qca.qualcomm.com
Wed Apr 26 02:46:22 PDT 2017

Michael Mera <dev at michaelmera.com> wrote:
> During write to debugfs file simulate_fw_crash, fixed-size local buffer
> 'buf' is accessed and modified at index 'count-1', where 'count' is the
> size of the write (so potentially out of bounds).
> This patch fixes this problem.
> Signed-off-by: Michael Mera <dev at michaelmera.com>

I fixed a checkpatch warning in the pending branch:

drivers/net/wireless/ath/ath10k/debug.c:636: spaces preferred around that '-' (ctx:VxV)



More information about the ath10k mailing list