aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2012-09-21 15:08:54 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2012-10-24 11:49:50 +0300
commitd54601b92fbde2a7021a844e1373ba8c778cc0a3 (patch)
tree434ba2da87ab1916a4b3dfccc2362b0a166b970f /tools/perf/scripts/python/export-to-postgresql.py
parentath6kl: Avoid null ptr dereference while printing reg domain pair (diff)
downloadlinux-dev-d54601b92fbde2a7021a844e1373ba8c778cc0a3.tar.xz
linux-dev-d54601b92fbde2a7021a844e1373ba8c778cc0a3.zip
ath6kl: Check for valid rate table index
There are 28 items defined in rate table array 'wmi_rate_tbl'. The rate table index (reply->rate_index) in ath6kl_wmi_bitrate_reply_rx() func is not checked for the valid max limit index before accessing rate table array. There may be some incidents to get memory crashes without safe max check. Fix this. Found this on code review. Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions