diff options
author | Jean Delvare <khali@linux-fr.org> | 2014-01-14 15:59:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-29 05:10:42 -0800 |
commit | e34cdde46b0c080f0654f5237c4af76b27019f60 (patch) | |
tree | a6dc74cc74776817fa9c15bcb8c0e0ab32812ec5 /security | |
parent | 9a22404cf92f3c5ec2b2bf2554f0c92f021e77e9 (diff) |
hwmon: (coretemp) Fix truncated name of alarm attributes
commit 3f9aec7610b39521c7c69d754de7265f6994c194 upstream.
When the core number exceeds 9, the size of the buffer storing the
alarm attribute name is insufficient and the attribute name is
truncated. This causes libsensors to skip these attributes as the
truncated name is not recognized.
Reported-by: Andreas Hollmann <hollmann@in.tum.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions