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]
Message-ID: <Yh+EdGcsoF+lBjfX@kroah.com>
Date:   Wed, 2 Mar 2022 15:51:32 +0100
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Nguyen Dinh Phi <phind.uet@...il.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] samples/kobject: Use sysfs_emit instead of
 snprintf

On Wed, Mar 02, 2022 at 08:07:59PM +0800, Nguyen Dinh Phi wrote:
> Convert sprintf() to sysfs_emit() in order to check buffer overrun on sysfs
> outputs.

There are no such buffer overruns on these sysfs files.

> 
> Signed-off-by: Nguyen Dinh Phi <phind.uet@...il.com>
> ---
>  samples/kobject/kobject-example.c | 4 ++--
>  samples/kobject/kset-example.c    | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Why is this a resend?  What happened to the first version?

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ