lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 5 Sep 2016 18:45:16 +0200 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: linux-kernel@...r.kernel.org Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, stable@...r.kernel.org, Jean Delvare <jdelvare@...e.de>, Martin Blumenstingl <martin.blumenstingl@...glemail.com>, Guenter Roeck <linux@...ck-us.net> Subject: [PATCH 4.7 140/143] hwmon: (it87) Add missing sysfs attribute group terminator 4.7-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jean Delvare <jdelvare@...e.de> commit 3c3292634fc2de1ab97b6aa3222fee647f737adb upstream. Attribute array it87_attributes_in lacks its NULL terminator, causing random behavior when operating on the attribute group. Fixes: 52929715634a ("hwmon: (it87) Use is_visible for voltage sensors") Signed-off-by: Jean Delvare <jdelvare@...e.de> Cc: Martin Blumenstingl <martin.blumenstingl@...glemail.com> Cc: Guenter Roeck <linux@...ck-us.net> Signed-off-by: Guenter Roeck <linux@...ck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org> --- drivers/hwmon/it87.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c @@ -2015,6 +2015,7 @@ static struct attribute *it87_attributes &sensor_dev_attr_in10_input.dev_attr.attr, /* 41 */ &sensor_dev_attr_in11_input.dev_attr.attr, /* 41 */ &sensor_dev_attr_in12_input.dev_attr.attr, /* 41 */ + NULL }; static const struct attribute_group it87_group_in = {
Powered by blists - more mailing lists