summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/emc2103.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-06-07 10:54:29 +0200
committerGuenter Roeck <linux@roeck-us.net>2012-06-18 17:48:00 +0200
commitac852edb47b15900886ba2564eeeb13b3b526e3e (patch)
tree90cb765f808e48f7b956a0e979b99b0c4f44e3b3 /drivers/hwmon/emc2103.c
parentLinux 3.5-rc3 (diff)
downloadlinux-ac852edb47b15900886ba2564eeeb13b3b526e3e.tar.xz
linux-ac852edb47b15900886ba2564eeeb13b3b526e3e.zip
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 <rydberg@euromail.se> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/emc2103.c')
0 files changed, 0 insertions, 0 deletions