From: Jens Axboe <axboe@suse.de>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-kernel@vger.kernel.org, bernd@firmix.at
Subject: Re: [PATCH] blk: fix string handling in elv_iosched_store
Date: Thu, 10 Nov 2005 08:55:09 +0100 [thread overview]
Message-ID: <20051110075508.GT3699@suse.de> (raw)
In-Reply-To: <20051109180246.GA27759@htj.dyndns.org>
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
prev parent reply other threads:[~2005-11-10 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 17:11 [PATCH] blk: fix string handling in elv_iosched_store Tejun Heo
2005-11-09 18:02 ` Tejun Heo
2005-11-10 7:55 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051110075508.GT3699@suse.de \
--to=axboe@suse.de \
--cc=bernd@firmix.at \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.