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: <20250622184815.GW1880847@ZenIV>
Date: Sun, 22 Jun 2025 19:48:15 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Amir Mohammad Jahangirzad <a.jahangirzad@...il.com>
Cc: hubcap@...ibond.com, martin@...ibond.com, devel@...ts.orangefs.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs/orangefs: use snprintf() instead of sprintf()

On Sun, Jun 22, 2025 at 10:09:58PM +0330, Amir Mohammad Jahangirzad wrote:

> > Replace sprintf() with snprintf() for copying the debug string
> > into a temporary buffer, using ORANGEFS_MAX_DEBUG_STRING_LEN as
> > the maximum size to ensure safe formatting and prevent memory
> > corruption in edge cases.

Out of curiosity - have you actually looked at the format used there?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ