mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
ath9k: off by one in ath9k_hw_nvram_read_array()
commitb7dcf68f38upstream. The > should be >= or we read one space beyond the end of the array. Fixes:ab5c4f71d8("ath9k: allow to load EEPROM content via firmware API") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
3881e59fe7
commit
2c30708e81
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue