lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110603223213.GB9161@kroah.com>
Date:	Sat, 4 Jun 2011 07:32:13 +0900
From:	Greg KH <greg@...ah.com>
To:	Mike Frysinger <vapier@...too.org>
Cc:	uclinux-dist-devel@...ckfin.uclinux.org,
	Steven Miao <realmz6@...il.com>, linux-kernel@...r.kernel.org,
	stable@...nel.org
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@...il.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@...il.com>
> Signed-off-by: Mike Frysinger <vapier@...too.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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ