linux/block
Tejun Heo be56123568 [BLOCK] fix string handling in elv_iosched_store
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>
2005-11-12 10:56:21 +01:00
..
as-iosched.c Merge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-11-07 08:32:39 -08:00
cfq-iosched.c [BLOCK] cfq-iosched: cfq forced dispatching fix 2005-11-12 10:55:51 +01:00
deadline-iosched.c [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
elevator.c [BLOCK] fix string handling in elv_iosched_store 2005-11-12 10:56:21 +01:00
genhd.c [BLOCK] Document the READ/WRITE splitup of the disk stats 2005-11-12 10:55:21 +01:00
ioctl.c [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
Kconfig [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
Kconfig.iosched [BLOCK] iosched: fix setting of default io scheduler 2005-11-04 08:44:58 +01:00
ll_rw_blk.c Merge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-11-07 08:32:39 -08:00
Makefile [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
noop-iosched.c [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00
scsi_ioctl.c [BLOCK] Move all core block layer code to new block/ directory 2005-11-04 08:43:35 +01:00