diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-09 11:19:40 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-09 05:52:40 +0200 |
commit | 9eb85125ce218a8b8d9a7c982510388e227adbec (patch) | |
tree | 320b87113d2c6b151f14e39d3a7e60174e19b0be /Documentation | |
parent | 47788c58e66c050982241d9a05eb690daceb05a9 (diff) | |
download | blackbird-op-linux-9eb85125ce218a8b8d9a7c982510388e227adbec.tar.gz blackbird-op-linux-9eb85125ce218a8b8d9a7c982510388e227adbec.zip |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions