perf: Fix stack data leak
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 21 Jul 2009 07:55:05 +0000 (00:55 -0700)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 16:05:55 +0000 (18:05 +0200)
commitc9f73a3dd27e03411f18a58c0814d51392d2b17a
tree2b687a70433efc77f3f890bd5f09d31414d26f8e
parent9b7019ae6a542a801a80df6694c66e240e2c3e39
perf: Fix stack data leak

the "reserved" field was not initialized to zero, resulting in 4 bytes
of stack data leaking to userspace....

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
kernel/perf_counter.c