diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-11-20 20:24:38 +0000 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-11-21 17:31:56 +0800 |
commit | 7513edbc096a006f967eaf39088091442e623b83 (patch) | |
tree | 71b5cb3bbd66642d967cfc6730467246aa45ba5e /kernel/trace/trace_functions_graph.c | |
parent | f3be657d96b0709c832b165501170f072882df3c (diff) |
drm/i915/gvt: Avoid use-after-free iterating the gtt list
Found by smatch:
drivers/gpu/drm/i915/gvt/gtt.c:2452 intel_vgpu_destroy_ggtt_mm() error: dereferencing freed memory 'pos'
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions