Skip to content

treewide: correct misuses of strscpy/strlcpy

Joe Perches linux-arm-kernel linux-input linux-leds linux-media linux-nfs linuxppc-dev lkml netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8Input: synaptics: Fix misuse of strlcpydrivers/input/mouse/synaptics.c+1 -11 reply
2/8leds: as3645a: Fix misuse of strlcpydrivers/leds/leds-as3645a.c+1 -13 replies
3/8media: m2m-deinterlace: Fix misuse of strscpydrivers/media/platform/m2m-deinterlace.c+1 -10 replies
4/8media: go7007: Fix misuse of strscpydrivers/media/usb/go7007/snd-go7007.c+1 -10 replies
5/8net: ethernet: sun4i-emac: Fix misuse of strlcpydrivers/net/ethernet/allwinner/sun4i-emac.c+2 -21 reply
6/8net: nixge: Fix misuse of strlcpydrivers/net/ethernet/ni/nixge.c+1 -11 reply
7/8tty: hvcs: Fix odd use of strlcpydrivers/tty/hvc/hvcs.c+2 -20 replies
8/8nfsd: Fix misuse of strlcpyfs/nfsd/nfs4idmap.c+1 -13 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchSakari Ailus
1/8
2/8A-b
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] treewide: correct misuses of strscpy/strlcpy

These are all likely copy/paste defects where the field size of the 'copied to' array is incorrect.

Each patch in this series is independent.

Joe Perches (8):
Input: synaptics: Fix misuse of strlcpy
leds: as3645a: Fix misuse of strlcpy
media: m2m-deinterlace: Fix misuse of strscpy
media: go7007: Fix misuse of strscpy
net: ethernet: sun4i-emac: Fix misuse of strlcpy
net: nixge: Fix misuse of strlcpy
tty: hvcs: Fix odd use of strlcpy
nfsd: Fix misuse of strlcpy

 drivers/input/mouse/synaptics.c             | 2 +-
 drivers/leds/leds-as3645a.c                 | 2 +-
 drivers/media/platform/m2m-deinterlace.c    | 2 +-
 drivers/media/usb/go7007/snd-go7007.c       | 2 +-
 drivers/net/ethernet/allwinner/sun4i-emac.c | 4 ++--
 drivers/net/ethernet/ni/nixge.c             | 2 +-
 drivers/tty/hvc/hvcs.c                      | 4 ++--
 fs/nfsd/nfs4idmap.c                         | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.15.0