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: <20160331234302.GA31271@kroah.com>
Date:	Thu, 31 Mar 2016 16:43:02 -0700
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	Tomas Winkler <tomas.winkler@...el.com>
Cc:	Alexander Usyskin <alexander.usyskin@...el.com>,
	linux-kernel@...r.kernel.org,
	Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [char-misc-next] mei: bus: use scnprintf in *_show

On Thu, Mar 24, 2016 at 10:38:04AM +0200, Tomas Winkler wrote:
> From: Rasmus Villemoes <linux@...musvillemoes.dk>
> 
> There's no reason to duplicate the logic provided by scnprintf().

And really, there's no need for any of this, just use sprintf() for
sysfs attributes that are the size of an integer.

But I'll take this for now, just to keep people happy because "everyone
knows sprintf() should never be used"...

bah.

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ