Files
linux/drivers
Dan Carpenter 82d2efc785 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>
2023-05-15 11:30:08 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-15 11:22:47 +09:00
2023-05-12 16:28:00 +09:00
2023-05-15 11:23:33 +09:00
2023-05-15 10:39:04 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 11:24:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 09:51:46 +09:00
2023-05-15 08:28:33 +09:00
2023-05-15 11:09:53 +09:00