diff options
| author | Chris Wilson <[email protected]> | 2020-01-23 15:26:02 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-01-24 10:22:08 +0000 |
| commit | 90211ea4ba6e8066f827434e67678cb80f51ba58 (patch) | |
| tree | c145acf3d700a013a07202a5bdae2a44d8797995 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 423177140e9fcbd2ee5fef3845d4623f4ec31ed8 (diff) | |
drm/i915/gem: Prevent NULL pointer dereference on missing ctx->vm
If the ctx->vm is freed before we can acquire a local reference to it,
we proceed to call i915_vm_put(NULL), which is invalid.
Reported-by: Colin Ian King <[email protected]>
Fixes: 5dbd2b7be61e ("drm/i915/gem: Convert vm idr to xarray")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Colin Ian King <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions