aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorCyril Roelandt <[email protected]>2013-01-27 23:42:48 +0100
committerJohn W. Linville <[email protected]>2013-01-30 15:07:09 -0500
commit485f107d341cb1d09e010e0466b02a1ad026f489 (patch)
tree7d78c7f246caff67d150b71126dde6bbe83b6020 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent44ba973699b831414c3f8eef68ee5a7fe1208a05 (diff)
mwifiex: avoid out of bounds access in mwifiex_get_common_rates.
Check that the array indexes are in-bounds before accessing the rate2 and tmp arrays. Found with the following semantic patch: <smpl> @@ identifier t; identifier idx; expression E; statement S; @@ * for (... ; <+... t[idx] ...+> && idx < E ; ...) S </smpl> Signed-off-by: Cyril Roelandt <[email protected]> Acked-by: Bing Zhao <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions