ath9k: off by one in ath9k_hw_nvram_read_array()
commit b7dcf68f upstream. The > should be >= or we read one space beyond the end of the array. Fixes: ab5c4f71 ("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>
Showing
Please register or sign in to comment