[PATCH 0/5] scsi: Replace {v}snprintf() variants with safer alternatives
From: Lee Jones
Date: Thu Jan 11 2024 - 08:17:54 EST
For a far better description of the problem than I could author, see
Jon's write-up on LWN [1] and/or Alex's on the Kernel Self Protection
Project [1].
[0] https://lwn.net/Articles/69419/
[1] https://github.com/KSPP/linux/issues/105
Lee Jones (5):
scsi: 3w-9xxx: Remove snprintf() from sysfs call-backs and replace
with sysfs_emit()
scsi: 3w-sas: Remove snprintf() from sysfs call-backs and replace with
sysfs_emit()
scsi: 3w-xxxx: Remove snprintf() from sysfs call-backs and replace
with sysfs_emit()
scsi: 53c700: Remove snprintf() from sysfs call-backs and replace with
sysfs_emit()
scsi: aacraid: aachba: Replace snprintf() with the safer scnprintf()
variant
drivers/scsi/3w-9xxx.c | 44 +++++++-------
drivers/scsi/3w-sas.c | 36 ++++++------
drivers/scsi/3w-xxxx.c | 46 +++++++--------
drivers/scsi/53c700.c | 104 +++++++++++++++++-----------------
drivers/scsi/aacraid/aachba.c | 6 +-
5 files changed, 118 insertions(+), 118 deletions(-)
Cc: Adam Radford <aradford@xxxxxxxxx>
Cc: Adaptec OEM Raid Solutions <aacraid@xxxxxxxxxxxxx>
Cc: Andre Hedrick <andre@xxxxxxxx>
Cc: de Melo <acme@xxxxxxxxxxxxxxxx>
Cc: Joel Jacobson <linux@xxxxxxxxx>
Cc: "PMC-Sierra, Inc" <aacraid@xxxxxxxxxxxxxx>
Cc: Richard Hirst <rhirst@xxxxxxxxxxxxx>
--
2.43.0.275.g3460e3d667-goog