mbox series

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

Message ID 20200315093503.8558-1-tiwai@suse.de
Headers show
Series net: Use scnprintf() for avoiding potential buffer overflow | expand

Message

Takashi Iwai March 15, 2020, 9:34 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
        Excluded i40e patch that was already queued


Takashi

===

Takashi Iwai (6):
  net: caif: Use scnprintf() for avoiding potential buffer overflow
  net: mlx4: Use scnprintf() for avoiding potential buffer overflow
  net: nfp: Use scnprintf() for avoiding potential buffer overflow
  net: ionic: Use scnprintf() for avoiding potential buffer overflow
  net: sfc: Use scnprintf() for avoiding potential buffer overflow
  net: netdevsim: Use scnprintf() for avoiding potential buffer overflow

 drivers/net/caif/caif_spi.c                        | 72 +++++++++++-----------
 drivers/net/ethernet/mellanox/mlx4/mcg.c           | 62 +++++++++----------
 .../ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c  |  8 +--
 drivers/net/ethernet/pensando/ionic/ionic_lif.c    | 14 ++---
 drivers/net/ethernet/sfc/mcdi.c                    | 32 +++++-----
 drivers/net/netdevsim/ipsec.c                      | 30 ++++-----
 6 files changed, 111 insertions(+), 107 deletions(-)

Comments

David Miller March 16, 2020, 12:06 a.m. UTC | #1
From: Takashi Iwai <tiwai@suse.de>
Date: Sun, 15 Mar 2020 10:34:57 +0100

> 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
>         Excluded i40e patch that was already queued

Series applied, thank you.