diff options
| author | Li Zefan <[email protected]> | 2009-04-09 11:19:40 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-09 05:52:40 +0200 |
| commit | 9eb85125ce218a8b8d9a7c982510388e227adbec (patch) | |
| tree | 320b87113d2c6b151f14e39d3a7e60174e19b0be /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 47788c58e66c050982241d9a05eb690daceb05a9 (diff) | |
blktrace: pass the right pointer to kfree()
Impact: fix kfree crash with non-standard act_mask string
If passing a string with leading white spaces to strstrip(),
the returned ptr != the original ptr.
This bug was introduced by me.
Signed-off-by: Li Zefan <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions