commit | 411cabf79e684171669ad29a0628c400b4431e95 | [log] [tgz] |
---|---|---|
author | Prarit Bhargava <prarit@redhat.com> | Thu Oct 17 08:00:11 2013 -0400 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Oct 30 16:00:57 2013 +1100 |
tree | 34cd30b8bcb83d514338998023e5582503c8a974 | |
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>