aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorc_darssr <c_darssr@qti.qualcomm.com>2018-10-05 17:04:24 +0530
committerMiguel de Dios <migueldedios@google.com>2019-01-10 19:37:40 +0000
commit04a180786bd8047ed3e05b6cfae8cfadaec5971d (patch)
treec0cc78b0de1ab96c79fe1dcc119b96eb6fd1e6fa /tools/perf/util/scripting-engines/trace-event-python.c
parentaeac61419ccd7c23c30b7057d97dcf7178e07f3a (diff)
msm: vidc: do not set video state to DEINIT very early
If video state set to DEINIT before processing all frame done packets in the list may create video failures as explained below, the client communication to video hardware will fail because of DEINIT state and client will close the session upon failure which will happen in parallel to response thread processing the response packets in the list. It may happen that client already free'd the buffer references and response thread might access the same buffer reference and results in use-after-free memory fault. So In case of sys error from video hardware, set video state to DEINIT after processing all packets in the list to avoid use-after-free failure Bug: 119053086 Change-Id: I41579358ebc93e2ba88a42e04747cfdc1ff2142f Signed-off-by: c_darssr <c_darssr@qti.qualcomm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions