diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-04-11 11:15:20 +0300 |
|---|---|---|
| committer | Govind Singh <govinds@codeaurora.org> | 2017-01-06 15:58:51 +0530 |
| commit | fb31a7dc281e815a6462e759451f4ecf40deee90 (patch) | |
| tree | aed3cc39a3fcb76557c5ae1dff64c556734c2e1b /tools/perf/scripts/python/syscall-counts.py | |
| parent | ebdd49c4bbf907b67e3cecede9dda4a3cb1ddcf9 (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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
