From: Chen Gang Date: Mon, 25 Feb 2013 16:51:49 +0000 (+0000) Subject: powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code X-Git-Tag: v3.9-rc2~22^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6680c4ea3952af8ae76915cbca41245147741b;p=pandora-kernel.git powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code the dest buf len is 80 (HVCS_CLC_LENGTH + 1). the src buf len is PAGE_SIZE. if src buf string len is more than 80, it will cause issue. Signed-off-by: Chen Gang Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed