Skip to content
Commit a16703aa authored by Michael Mera's avatar Michael Mera Committed by Kalle Valo
Browse files

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: default avatarMichael Mera <dev@michaelmera.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent d96db25d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment