[PATCH v5 07/13] ima: Use snprintf() in create_securityfs_measurement_lists
Mimi Zohar
zohar at linux.ibm.com
Thu May 21 02:07:32 UTC 2026
On Wed, 2026-04-29 at 18:03 +0200, Roberto Sassu wrote:
> From: Roberto Sassu <roberto.sassu at huawei.com>
>
> Use the more secure snprintf() function (accepting the buffer size) in
> create_securityfs_measurement_lists().
>
> No functional change: sprintf() and snprintf() have the same behavior.
>
> Link: https://github.com/linux-integrity/linux/issues/1
> Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com>
Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
More information about the Linux-security-module-archive
mailing list