Files
linux/drivers/misc
Dan Carpenter 7e21768dff misc: vexpress: Off by one in vexpress_syscfg_exec()
commit f8a70d8b88 upstream.

The > comparison should be >= to prevent reading beyond the end of the
func->template[] array.

(The func->template array is allocated in vexpress_syscfg_regmap_init()
and it has func->num_templates elements.)

Fixes: 974cc7b934 ("mfd: vexpress: Define the device as MFD cells")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-15 08:09:12 +01:00
..
2018-02-22 15:42:23 +01:00
2019-01-13 10:01:07 +01:00
2017-08-28 16:55:48 +02:00
2017-08-28 16:55:48 +02:00
2018-09-29 03:06:07 -07:00