diff options
author | Prarit Bhargava <prarit@redhat.com> | 2013-10-17 08:00:11 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-30 16:00:57 +1100 |
commit | 411cabf79e684171669ad29a0628c400b4431e95 (patch) | |
tree | 34cd30b8bcb83d514338998023e5582503c8a974 /arch/powerpc/kernel/pci_of_scan.c | |
parent | ecb35c3943040f4db735c7d14c24ee7750cbb482 (diff) |
powerpc/vio: use strcpy in modalias_show
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
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_of_scan.c')
0 files changed, 0 insertions, 0 deletions