aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-05-23 16:48:36 -0700
committerNicholas Bellinger <[email protected]>2017-07-06 22:58:01 -0700
commit9f4ab18ac51dc87345a9cbd2527e6acf7a0a9335 (patch)
treeb6b1e76341fc59162c054ea19d13b87a0ffd4954 /tools/perf/scripts/python
parent13fdd4458ed1b808946fd7baba657b6a51d3c72b (diff)
xen/scsiback: Fix a TMR related use-after-free
scsiback_release_cmd() must not dereference se_cmd->se_tmr_req because that memory is freed by target_free_cmd_mem() before scsiback_release_cmd() is called. Fix this use-after-free by inlining struct scsiback_tmr into struct vscsibk_pend. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: David Disseldorp <[email protected]> Cc: [email protected] Cc: <[email protected]> # 3.18+ Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions