mbox series

[v2,0/8] scsi: Use scnprintf() for avoiding potential buffer overflow

Message ID 20200315094241.9086-1-tiwai@suse.de (mailing list archive)
Headers show
Series scsi: Use scnprintf() for avoiding potential buffer overflow | expand

Message

Takashi Iwai March 15, 2020, 9:42 a.m. UTC
Hi,

here is a respin of trivial patch series just to convert suspicious
snprintf() usages with the more safer one, scnprintf().

v1->v2: Align the remaining lines to the open parenthesis


Takashi

===

Takashi Iwai (8):
  scsi: aacraid: Use scnprintf() for avoiding potential buffer overflow
  scsi: be2iscsi: Use scnprintf() for avoiding potential buffer overflow
  scsi: fnic: Use scnprintf() for avoiding potential buffer overflow
  scsi: gdth: Use scnprintf() for avoiding potential buffer overflow
  scsi: ipr: Use scnprintf() for avoiding potential buffer overflow
  scsi: megaraid_sas: Use scnprintf() for avoiding potential buffer
    overflow
  scsi: core: Use scnprintf() for avoiding potential buffer overflow
  scsi: smartpqi: Use scnprintf() for avoiding potential buffer overflow

 drivers/scsi/aacraid/linit.c              | 17 ++++-----
 drivers/scsi/be2iscsi/be_mgmt.c           | 20 +++++------
 drivers/scsi/fnic/fnic_trace.c            | 58 +++++++++++++++----------------
 drivers/scsi/gdth_proc.c                  |  2 +-
 drivers/scsi/ipr.c                        |  6 ++--
 drivers/scsi/megaraid/megaraid_sas_base.c |  7 ++--
 drivers/scsi/scsi_sysfs.c                 | 10 +++---
 drivers/scsi/smartpqi/smartpqi_init.c     | 22 ++++++------
 8 files changed, 72 insertions(+), 70 deletions(-)

Comments

Martin K. Petersen March 17, 2020, 5:37 p.m. UTC | #1
Takashi,

> here is a respin of trivial patch series just to convert suspicious
> snprintf() usages with the more safer one, scnprintf().

Applied to 5.7/scsi-queue, thanks!