diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2012-06-07 04:54:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 08:47:38 -0700 |
commit | cd2ae436c3ef59659ba10754213c8614d256dc86 (patch) | |
tree | d68e8c422e27238b85f5e5743bb422384af48098 /fs/char_dev.c | |
parent | c5a07578befc10cde568f54a2103ad4273ef98c1 (diff) | |
download | kernel_samsung_espresso10-cd2ae436c3ef59659ba10754213c8614d256dc86.zip kernel_samsung_espresso10-cd2ae436c3ef59659ba10754213c8614d256dc86.tar.gz kernel_samsung_espresso10-cd2ae436c3ef59659ba10754213c8614d256dc86.tar.bz2 |
hwmon: (applesmc) Limit key length in warning messages
commit ac852edb47b15900886ba2564eeeb13b3b526e3e upstream.
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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions