commit | 9eb85125ce218a8b8d9a7c982510388e227adbec | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu Apr 09 11:19:40 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Apr 09 05:52:40 2009 +0200 |
tree | 320b87113d2c6b151f14e39d3a7e60174e19b0be | |
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>