summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2018-09-21 13:42:41 -0700
committerKalle Valo <kvalo@codeaurora.org>2018-10-02 07:49:09 +0300
commite720ba1dcc33377231bcbc76e927f089e393ea60 (patch)
treef6d0af44e1ff272f724f21d90a4b896aa6f79757 /drivers/net/wireless/ath/ath9k/ath9k.h
parent4fb5837ac2bd46a85620b297002c704e9958f64d (diff)
downloadlinux-e720ba1dcc33377231bcbc76e927f089e393ea60.tar.bz2
ath10k: add missing sanity check on diag download
ath10k_hw_diag_fast_download() generally has good boundary checking, but it misses verifying that the next metadata header actually fits in the remaining buffer space. Add such a check. Fixes: 39501ea64116 ("ath10k: download firmware via diag Copy Engine for QCA6174 and QCA9377.") Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
0 files changed, 0 insertions, 0 deletions