diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-03 17:52:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:18 +0100 |
| commit | 99b23b0d5fd57634ba3c4659dea6a654c2f99753 (patch) | |
| tree | 64a288615d79935ead6c310a6a99774a98e16681 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 60de9fffbe5d59325d9c2319bac1620588b20d17 (diff) | |
misc: vexpress: Off by one in vexpress_syscfg_exec()
commit f8a70d8b889f180e6860cb1f85fed43d37844c5a 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: 974cc7b93441 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
