commit | 7d6eee570aba9984707dde02ae644f23fb590b37 | [log] [tgz] |
---|---|---|
author | Prarit Bhargava <prarit@redhat.com> | Thu Oct 17 08:00:11 2013 -0400 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:05 2020 +0200 |
tree | b4ecc55aefb32a4c5bf68dceb14dd4d16f65c789 | |
parent | f0eb9f24b08e7d39dc9ac1a4d40bea7fd723b582 [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>