public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: lee@kernel.org, jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
	Adam Radford <aradford@gmail.com>,
	Adaptec OEM Raid Solutions <aacraid@microsemi.com>,
	Andre Hedrick <andre@suse.com>, de Melo <acme@conectiva.com.br>,
	Joel Jacobson <linux@3ware.com>,
	"PMC-Sierra, Inc" <aacraid@pmc-sierra.com>,
	Richard Hirst <rhirst@linuxcare.com>
Subject: [PATCH 0/5] scsi: Replace {v}snprintf() variants with safer alternatives
Date: Thu, 11 Jan 2024 13:17:21 +0000	[thread overview]
Message-ID: <20240111131732.1815560-1-lee@kernel.org> (raw)

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@gmail.com>
Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com>
Cc: Andre Hedrick <andre@suse.com>
Cc: de Melo <acme@conectiva.com.br>
Cc: Joel Jacobson <linux@3ware.com>
Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com>
Cc: Richard Hirst <rhirst@linuxcare.com>
-- 
2.43.0.275.g3460e3d667-goog


             reply	other threads:[~2024-01-11 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11 13:17 Lee Jones [this message]
2024-01-11 13:17 ` [PATCH 1/5] scsi: 3w-9xxx: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() Lee Jones
2024-01-11 13:17 ` [PATCH 2/5] scsi: 3w-sas: " Lee Jones
2024-01-11 13:17 ` [PATCH 3/5] scsi: 3w-xxxx: " Lee Jones
2024-01-11 13:17 ` [PATCH 4/5] scsi: 53c700: " Lee Jones
2024-01-11 13:17 ` [PATCH 5/5] scsi: aacraid: aachba: Replace snprintf() with the safer scnprintf() variant Lee Jones
2024-01-30  1:35 ` [PATCH 0/5] scsi: Replace {v}snprintf() variants with safer alternatives Martin K. Petersen
2024-02-06  2:07 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240111131732.1815560-1-lee@kernel.org \
    --to=lee@kernel.org \
    --cc=aacraid@microsemi.com \
    --cc=aacraid@pmc-sierra.com \
    --cc=acme@conectiva.com.br \
    --cc=andre@suse.com \
    --cc=aradford@gmail.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux@3ware.com \
    --cc=martin.petersen@oracle.com \
    --cc=rhirst@linuxcare.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox