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] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Feb 2024 08:33:30 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Denis Kirjanov <kirjanov@...il.com>
Cc: dsahern@...nel.org, netdev@...r.kernel.org, Denis Kirjanov
 <dkirjanov@...e.de>
Subject: Re: [PATCH iproute2 1/2] lib: utils: introduce scnprintf

On Fri,  9 Feb 2024 04:36:18 -0500
Denis Kirjanov <kirjanov@...il.com> wrote:

> The function is similar to the standard snprintf but
> returns the number of characters actually written to @buf
> argument excluding the trailing '\0'
> 
> Signed-off-by: Denis Kirjanov <dkirjanov@...e.de>
> ---

I don't understand, why not use snprintf in ifstat?
None of the cases in patch 2 care about the return value length.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ