diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-11-20 23:24:38 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-11-21 12:31:56 +0300 |
commit | 7513edbc096a006f967eaf39088091442e623b83 (patch) | |
tree | 71b5cb3bbd66642d967cfc6730467246aa45ba5e /lib/memory-notifier-error-inject.c | |
parent | f3be657d96b0709c832b165501170f072882df3c (diff) | |
download | linux-7513edbc096a006f967eaf39088091442e623b83.tar.xz |
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions