From: Prarit Bhargava Date: Thu, 17 Oct 2013 12:00:11 +0000 (-0400) Subject: powerpc/vio: use strcpy in modalias_show X-Git-Tag: v3.2.54~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f38808475d3ef744bc6e2610e33fb4c92dc85654;p=pandora-kernel.git 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed