diff options
author | 2011-09-29 13:09:34 -0400 | |
---|---|---|
committer | 2011-10-19 17:03:32 -0400 | |
commit | 8404877ee1cfdbc872e153fd89022f9e47f6f5a3 (patch) | |
tree | 8a319093c106cbeb2017d0af8421c055a4851fd3 /tools/perf/scripts/python | |
parent | xen/enlighten: Fix compile warnings and set cx to known value. (diff) | |
download | linux-dev-8404877ee1cfdbc872e153fd89022f9e47f6f5a3.tar.xz linux-dev-8404877ee1cfdbc872e153fd89022f9e47f6f5a3.zip |
xen/p2m/debugfs: Fix potential pointer exception.
We could be referencing the last + 1 element of level_name[]
array which would cause a pointer exception, because of the
initial setup of lvl=4.
[v1: No need to do this for type_name, pointed out by Ian Campbell]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions