[PATCH 0/2] perf stat: fix memory corruption and core dump

From: Stephane Eranian
Date: Fri Jan 17 2014 - 10:34:49 EST


This short patch series fixes two problems:
- segfault for perf stat -e cpu/event=0x3c ls
- memory corruption via xyarray of evsel->fd.

The patch is relative to tip.get


Stephane Eranian (2):
perf stat: fix NULL pointer reference bug with event unit
perf stat: fix memory corruption of xyarray when cpumask is used

tools/perf/util/evlist.c | 7 +++++--
tools/perf/util/evsel.c | 2 --
tools/perf/util/parse-events.c | 2 +-
tools/perf/util/pmu.c | 24 ++++++++++++++++++++----
tools/perf/util/pmu.h | 2 +-
5 files changed, 27 insertions(+), 10 deletions(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/