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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 13 Dec 2010 22:25:26 +0800
From:	Changli Gao <xiaosuo@...il.com>
To:	Anton Arapov <aarapov@...hat.com>
Cc:	linux-kernel@...r.kernel.org,
	"Changli Gao <xiaosuo@...il.com>, Andrew Morton
	<akpm@...ux-foundation.org>, Linus Torvalds" 
	<torvalds@...ux-foundation.org>
Subject: Re: [PATCH] lib: fix vscnprintf() if @size is == 0

On Mon, Dec 13, 2010 at 10:05 PM, Anton Arapov <aarapov@...hat.com> wrote:
> vscnprintf() should return 0 if @size is == 0. Update the comment for it,
> as @size is unsigned.
>
> This change based on the code of commit b903c0b8899b46829a9b80ba55b61079b35940ec
> moves the real fix into vscnprinf() from scnprintf() and makes scnprintf() call
> vscnprintf(), thus avoid code duplication.
>
> Signed-off-by: Anton Arapov <aarapov@...hat.com>

Acked-by: Changli Gao <xiaosuo@...il.com>

-- 
Regards,
Changli Gao(xiaosuo@...il.com)
--
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