diff options
author | Prarit Bhargava <prarit@redhat.com> | 2013-10-17 08:00:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 10:50:36 -0800 |
commit | 49aa69febe1dc8643e2d75ffcdf9504337fe4f7e (patch) | |
tree | 6413c65343ceda85d09b739689d25c96571505f9 /arch/powerpc/platforms/powernv/pci-ioda.c | |
parent | 801327994060b0ae3749257d264a7bfea119b46c (diff) |
powerpc/vio: use strcpy in modalias_show
commit 411cabf79e684171669ad29a0628c400b4431e95 upstream.
Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 used strcat instead of
strcpy which can result in an overflow of newlines on the buffer.
Signed-off-by: Prarit Bhargava
Cc: benh@kernel.crashing.org
Cc: ben@decadent.org.uk
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci-ioda.c')
0 files changed, 0 insertions, 0 deletions