From: Henrik Rydberg Date: Thu, 7 Jun 2012 08:54:29 +0000 (-0400) Subject: hwmon: (applesmc) Limit key length in warning messages X-Git-Tag: v3.5-rc4~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac852edb47b15900886ba2564eeeb13b3b526e3e;p=pandora-kernel.git hwmon: (applesmc) Limit key length in warning messages Key lookups may call read_smc() with a fixed-length key string, and if the lookup fails, trailing stack content may appear in the kernel log. Fixed with this patch. Signed-off-by: Henrik Rydberg Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed