From: Greg KH <greg@kroah.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org,
Steven Miao <realmz6@gmail.com>,
linux-kernel@vger.kernel.org, stable@kernel.org
Subject: Re: [stable] [PATCH] Blackfin: strncpy: fix handling of zero lengths
Date: Sat, 4 Jun 2011 07:32:13 +0900 [thread overview]
Message-ID: <20110603223213.GB9161@kroah.com> (raw)
In-Reply-To: <1307113762-3330-1-git-send-email-vapier@gentoo.org>
On Fri, Jun 03, 2011 at 11:09:22AM -0400, Mike Frysinger wrote:
> From: Steven Miao <realmz6@gmail.com>
>
> The jump to 4f will cause the NUL padding loop to run at least one time,
> so if string length is zero just jump to the end. Otherwise we wrongly
> write one NUL byte when size==0.
>
> Signed-off-by: Steven Miao <realmz6@gmail.com>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
> arch/blackfin/lib/strncpy.S | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
prev parent reply other threads:[~2011-06-03 22:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 15:09 Mike Frysinger
2011-06-03 22:32 ` Greg KH [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=20110603223213.GB9161@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=realmz6@gmail.com \
--cc=stable@kernel.org \
--cc=uclinux-dist-devel@blackfin.uclinux.org \
--cc=vapier@gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®