summaryrefslogtreecommitdiff
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2009-12-07 04:06:29 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-12-07 05:26:24 (GMT)
commitd8bd9e0aedabcb47887712497bc386a06ddcbd12 (patch)
treeb8fbdb8987323a3b572554ebe00487d444abfec4 /lib/cmdline.c
parentc0777c5aa835a97ccc77d82e55388940f0140a61 (diff)
downloadlinux-d8bd9e0aedabcb47887712497bc386a06ddcbd12.tar.xz
perf_event: Fix raw event processing
We use 'data.raw_data' parameter to call process_raw_event(), but data.raw_data buffer not include data size. it can make perf tool crash. This bug was introduced by commit 180f95e29a ("perf: Make common SAMPLE_EVENT parser"). Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4B1C7F45.5080105@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions