aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-05 00:28:05 -0500
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-08 22:05:56 -0500
commit2e51ef32b0d66fcd5fe45c437cf7c6aef8350746 (patch)
tree6b4481f7f856c56136a5a9617d06a2cf3de58647 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent2fcdb66364ee467d69228a3d2ea074498c177211 (diff)
drm/i915/gvt: fix use after free for workload
In the function workload_thread(), we invoke complete_current_workload() to cleanup the just processed workload (workload will be freed there). So we cannot access workload->req after that. This patch move complete_current_workload() afterward. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions