commit | a16703aaeaedec7a8bee5be5522c7c3e75478951 | [log] [tgz] |
---|---|---|
author | Michael Mera <dev@michaelmera.com> | Mon Apr 24 16:11:57 2017 +0900 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Thu May 04 15:58:57 2017 +0300 |
tree | 6ddbb235c2a6a41db0a5775d50f4accb1ee61691 | |
parent | d96db25d20256208ce47d71b9f673a1de4c6fd7e [diff] |
ath10k: fix out of bounds access to local buffer 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@michaelmera.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>