diff options
| author | Thomas Hellström <[email protected]> | 2023-11-23 16:31:55 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:44:57 -0500 |
| commit | 8c54ee8a8606a453a2c907989372aa6f004b7bec (patch) | |
| tree | 8fc38e3e5a818b31e57d103c0e844674795ccaf7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2475ac27df597679ca0426d358877d6f1483d50f (diff) | |
drm/xe: Ensure that we don't access the placements array out-of-bounds
Ensure, using xe_assert that the various try_add_<placement> functions
don't access the bo placements array out-of-bounds.
v2:
- Remove the places argument to make sure the xe_assert operates on
the array we're actually populating. (Matthew Auld)
Suggested-by: Ohad Sharabi <[email protected]>
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/946
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Ohad Sharabi <[email protected]> #v1
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions