projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf hists browser: Fix NULL deref in hists browsing code
[linux-flexiantxendom0-3.2.10.git]
/
tools
/
perf
/
util
/
ui
/
browsers
/
hists.c
diff --git
a/tools/perf/util/ui/browsers/hists.c
b/tools/perf/util/ui/browsers/hists.c
index
d7a1c4a
..
2f83e5d
100644
(file)
--- a/
tools/perf/util/ui/browsers/hists.c
+++ b/
tools/perf/util/ui/browsers/hists.c
@@
-125,6
+125,9
@@
static int callchain__count_rows(struct rb_root *chain)
static bool map_symbol__toggle_fold(struct map_symbol *self)
{
+ if (!self)
+ return false;
+
if (!self->has_children)
return false;