Messages in this thread | | | Date | Sat, 4 Jun 2011 07:32:13 +0900 | From | Greg KH <> | Subject | Re: [stable] [PATCH] Blackfin: strncpy: fix handling of zero lengths |
| |
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>
| |