git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: fix stack data leak
[safe/jmp/linux-2.6]
/
kernel
/
perf_counter.c
diff --git
a/kernel/perf_counter.c
b/kernel/perf_counter.c
index
a641eb7
..
7bc888d
100644
(file)
--- a/
kernel/perf_counter.c
+++ b/
kernel/perf_counter.c
@@
-2665,6
+2665,7
@@
static void perf_counter_output(struct perf_counter *counter, int nmi,
header.size += sizeof(cpu_entry);
cpu_entry.cpu = raw_smp_processor_id();
+ cpu_entry.reserved = 0;
}
if (sample_type & PERF_SAMPLE_PERIOD)