perf_counter tools: fix buffer overwrite problem for perf top command
authorErdem Aktas <eaktas1@gmail.com>
Sun, 10 May 2009 06:13:19 +0000 (02:13 -0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 10 May 2009 06:21:18 +0000 (08:21 +0200)
commit82afae6016b672acb90ceb8e773bba0bd977d2a3
treeb3ae274679fa300bf5fbb72822d0742e9cba780e
parentf15b18d0755b3ee4b29991fc2fde535ee41df53c
perf_counter tools: fix buffer overwrite problem for perf top command

There is a buffer overwrite problem in builtin-top.c line 526, When I
tried to use ./perf top command, it was giving memory corruption
problem.

[ Impact: fix 'perf top' crash ]

LKML-Reference: <3fee128b0905092313x608e65e0l7b1116d86914114f@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-top.c