lkml.org 
[lkml]   [2005]   [Nov]   [10]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateThu, 10 Nov 2005 08:55:09 +0100
FromJens Axboe <>
SubjectRe: [PATCH] blk: fix string handling in elv_iosched_store
On Thu, Nov 10 2005, Tejun Heo wrote:
> 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>
> Cc: Bernd Petrovitsch <bernd@firmix.at>

Thanks applied.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-10 11:04    [W:1.989 / U:0.200 seconds]
©2003-2008 Jasper Spaans