diff options
| author | Guchun Chen <[email protected]> | 2019-08-08 14:54:41 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-12 12:47:48 -0500 |
| commit | a2b459947b1e8e9b8d8cb13640bc019ee932ea30 (patch) | |
| tree | ef7d9ea6dd29511703a83744f7956fd82fcdab6e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3c0b547da0d7f9011c87f081ef3cd743b367b088 (diff) | |
drm/amdgpu: add check to avoid array bound issue
Sub_block_index can be passed from user level, so
add one check before accessing the array first to
prevent array index out of bound problem.
Signed-off-by: Guchun Chen <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions