diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-08-01 12:15:41 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-02 10:30:37 -0500 |
| commit | e3bf125bdbb6efed2d650effbc3c13320602d64a (patch) | |
| tree | 1c355b00731cf3d109e1e6442c8e9d33be0cb9bb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | drm/radeon: Fix EEH during kexec (diff) | |
| download | linux-e3bf125bdbb6efed2d650effbc3c13320602d64a.tar.gz linux-e3bf125bdbb6efed2d650effbc3c13320602d64a.zip | |
drm/amd/powerplay: fix off-by-one upper bounds limit checks
There are two occurrances of off-by-one upper bound checking of indexes
causing potential out-of-bounds array reads. Fix these.
Addresses-Coverity: ("Out-of-bounds read")
Fixes: cb33363d0e85 ("drm/amd/powerplay: add smu feature name support")
Fixes: 6b294793e384 ("drm/amd/powerplay: add smu message name support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
