git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15853af
)
[BLOCK] fix string handling in elv_iosched_store
author
Tejun Heo
<htejun@gmail.com>
Thu, 10 Nov 2005 07:55:01 +0000
(08:55 +0100)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Sat, 12 Nov 2005 09:56:21 +0000
(10:56 +0100)
elv_iosched_store doesn't terminate string passed from userspace if
it's too long. Also, if the written length is zero (probably not
possible), it accesses elevator_name[-1]. This patch fixes both bugs.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
No differences found