diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2016-03-29 08:53:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-29 18:51:04 +0200 |
commit | 6e4f28780f38e27cb7ca0edeb1d7ebb4edfd1fc5 (patch) | |
tree | 781ef0c6f3796dd94b56009cb09cbd8f669fc0ee /drivers/gpu/drm/drm_dp_helper.c | |
parent | Linux 4.6-rc1 (diff) | |
download | linux-6e4f28780f38e27cb7ca0edeb1d7ebb4edfd1fc5.tar.xz linux-6e4f28780f38e27cb7ca0edeb1d7ebb4edfd1fc5.zip |
regcache: flat: Require max_registers to be set
If max_register is unset, regcache_flat_get_index will return 0 and only
memory for 1 unsigned int will be allocated, resulting in writing out
of bounds.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_helper.c')
0 files changed, 0 insertions, 0 deletions