aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-04-11 11:15:20 +0300
committerKalle Valo <[email protected]>2016-04-19 18:10:46 +0300
commitde72a20dc3714918b208430dd426c9f6a23ffaec (patch)
tree9414197693b5ed92cd34e31fc896a48c6d7b07cd /tools/perf/scripts/python
parent1ce8c1484e80010a6e4b9611c65668ff77556f45 (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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions