diff options
| author | Masami Hiramatsu <[email protected]> | 2009-12-07 12:00:46 -0500 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-12-07 18:33:21 +0100 |
| commit | e1d2017b24fb31602f1128e6a8b2afc54c9283cd (patch) | |
| tree | 7d085171e62e7c241438c22ea039d59554873da9 /scripts/objdiff | |
| parent | d56728b8d7fb3e1e5e5f97b88fdf6b43a35b4f5e (diff) | |
perf probe: Fix event namelist to duplicate string
Fix event namelist to duplicate string. Without duplicating, adding
multiple probes causes stack overwrite bug, because it reuses a
buffer on stack while the buffer is already added in the namelist.
String duplication solves this bug because only contents of the
buffer is copied to the namelist.
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: systemtap <[email protected]>
Cc: DLE <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions