diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-08 13:32:36 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2019-08-09 16:04:18 +0800 |
commit | eac4471d0882da14be652ef0a55b914145fab15a (patch) | |
tree | 2d22e7fff002f33d18cad0cea58871ad7a473144 /include/linux/task_work.h | |
parent | 4187414808095f645ca0661f8dde77617e2e7cb3 (diff) |
drm/i915: Use after free in error path in intel_vgpu_create_workload()
We can't free "workload" until after the printk or it's a use after
free.
Fixes: 2089a76ade90 ("drm/i915/gvt: Checking workload's gma earlier")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions