diff options
| author | Dhoat Harpal <hdhoat@codeaurora.org> | 2017-04-11 12:32:33 +0530 |
|---|---|---|
| committer | Dhoat Harpal <hdhoat@codeaurora.org> | 2017-04-11 14:58:54 +0530 |
| commit | eddbad962a8aad96f4418c6f15754e3022226330 (patch) | |
| tree | 48323f6c627346bc576bcbaef8423dd91555f904 /tools/perf/util/trace-event-scripting.c | |
| parent | 26db194916bdb891d9b2865d38cbe8068760d8ce (diff) | |
soc: qcom: glink: Get additional reference in glink open
Inside glink_open reference for channel context is only initialized,
but additional reference is not taken. It creates the possibility of use
after free if SSR happens before glink_open function completes.
Additional reference is taken to ensure context stay valid during
glink_open, even if SSR happens.
CRs-Fixed: 2031123
Change-Id: I94650d2f937416aff33a82073c4db76fab0d0e96
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
