diff options
| author | Phil Carmody <[email protected]> | 2010-05-24 14:33:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-25 08:07:03 -0700 |
| commit | 08a82c6872ac1d37cb993a52f1b35f97f48295bd (patch) | |
| tree | 43599b0869e8001e3e207e3498a5d510720070f2 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 4be929be34f9bdeffa40d815d32d7d60d2c7f03b (diff) | |
hvsi: fix messed up error checking getting state name
Handle out-of-range indices before reading what they refer to. And don't
access the one-past-the-end element of the array either.
Signed-off-by: Phil Carmody <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Roel Kluin <[email protected]>
Cc: Grant Likely <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions