diff options
| author | Alex Hung <[email protected]> | 2024-07-03 10:50:35 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:12 -0400 |
| commit | 6d64d39486197083497a01b39e23f2f8474b35d3 (patch) | |
| tree | f0f6171217a25deb352ddcd7b6f0b3eb57457f34 /tools/perf/scripts/python/netdev-times.py | |
| parent | fdd5ecbbff751c3b9061d8ebb08e5c96119915b4 (diff) | |
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 <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions