commit | ac852edb47b15900886ba2564eeeb13b3b526e3e | [log] [tgz] |
---|---|---|
author | Henrik Rydberg <[email protected]> | Thu Jun 07 04:54:29 2012 -0400 |
committer | Guenter Roeck <[email protected]> | Mon Jun 18 08:48:00 2012 -0700 |
tree | 90cb765f808e48f7b956a0e979b99b0c4f44e3b3 | |
parent | 485802a6c524e62b5924849dd727ddbb1497cc71 [diff] |
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 <[email protected]> Cc: [email protected] Signed-off-by: Guenter Roeck <[email protected]>