Commit 9f7cb03
drm/amd/display: Fix array-index-out-of-bounds in dml2
[Why]
UBSAN errors observed in dmesg.
array-index-out-of-bounds in dml2/display_mode_core.c
[How]
Fix the index.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 3d71a87 commit 9f7cb03
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9447 | 9447 | | |
9448 | 9448 | | |
9449 | 9449 | | |
9450 | | - | |
| 9450 | + | |
9451 | 9451 | | |
9452 | 9452 | | |
9453 | | - | |
| 9453 | + | |
9454 | 9454 | | |
9455 | | - | |
| 9455 | + | |
9456 | 9456 | | |
9457 | 9457 | | |
9458 | 9458 | | |
| |||
0 commit comments