commit | 68bbca15e7062f4ae16531e29893f78d0b4840b6 | [log] [tgz] |
---|---|---|
author | Peikang Zhang <peikang.zhang@amd.com> | Mon Jan 20 09:25:15 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Feb 06 15:04:37 2020 -0500 |
tree | 91d3d33bd8c00e214d7973ccc4fc7a30b365d4a4 | |
parent | 76c332c3d45b7b9a7db6830d84e5b3223d5cc920 [diff] |
drm/amd/display: dc_get_vmid_use_vector() crashes when get called [Why] int i can go out of boundary which will cause crash [How] Fixed the maximum value of i to avoid i going out of boundary Signed-off-by: Peikang Zhang <peikang.zhang@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>