diff options
author | 2011-12-15 17:32:39 +0100 | |
---|---|---|
committer | 2011-12-20 13:26:47 -0200 | |
commit | f3bda2c9a689b38c059f7cb2d761ff58a2996370 (patch) | |
tree | dd3962fd82b6cb5e6b8a87a0ba9dbb90c36a7c68 /net/lapb/lapb_timer.c | |
parent | perf record: Add ability to record event period (diff) | |
download | linux-dev-f3bda2c9a689b38c059f7cb2d761ff58a2996370.tar.xz linux-dev-f3bda2c9a689b38c059f7cb2d761ff58a2996370.zip |
perf evsel: Fix uninitialized memory access to struct perf_sample
Memory in struct perf_sample is not fully initialized during parsing.
Depending on sampling data some parts may left unchanged. Zero out
struct perf_sample first to avoid access to uninitialized memory.
Cc: Ingo Molnar <mingo@elte.hu>
Link: http://lkml.kernel.org/r/1323966762-8574-2-git-send-email-robert.richter@amd.com
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions