diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-08 23:19:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-08 23:52:40 -0400 |
commit | 9eb85125ce218a8b8d9a7c982510388e227adbec (patch) | |
tree | 320b87113d2c6b151f14e39d3a7e60174e19b0be /kernel/sched_cpupri.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 <lizf@cn.fujitsu.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <49DD694C.8020902@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions