diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-07-03 19:50:35 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-24 00:07:12 +0300 |
| commit | 6d64d39486197083497a01b39e23f2f8474b35d3 (patch) | |
| tree | f0f6171217a25deb352ddcd7b6f0b3eb57457f34 /scripts/git.orderFile | |
| parent | fdd5ecbbff751c3b9061d8ebb08e5c96119915b4 (diff) | |
| download | linux-6d64d39486197083497a01b39e23f2f8474b35d3.tar.xz | |
drm/amd/display: Increase array size of dummy_boolean
[WHY]
dml2_core_shared_mode_support and dml_core_mode_support access the third
element of dummy_boolean, i.e. hw_debug5 = &s->dummy_boolean[2], when
dummy_boolean has size of 2. Any assignment to hw_debug5 causes an
OVERRUN.
[HOW]
Increase dummy_boolean's array size to 3.
This fixes 2 OVERRUN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
