diff options
| author | 2016-04-11 11:15:20 +0300 | |
|---|---|---|
| committer | 2016-04-19 18:10:46 +0300 | |
| commit | de72a20dc3714918b208430dd426c9f6a23ffaec (patch) | |
| tree | 9414197693b5ed92cd34e31fc896a48c6d7b07cd /scripts | |
| parent | ath10k: fix rx_channel during hw reconfigure (diff) | |
ath10k: add some sanity checks to peer_map_event() functions
Smatch complains that since "ev->peer_id" comes from skb->data that
means we can't trust it and have to do a bounds check on it to prevent
an array overflow.
Fixes: 6942726f7f7b ('ath10k: add fast peer_map lookup')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
