summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/diag_ipc_bridge.c
diff options
context:
space:
mode:
authorDhoat Harpal <hdhoat@codeaurora.org>2018-01-18 00:29:20 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-12-20 02:37:00 -0800
commitdb15695b893c9a1814de66f7988c0b9f70941587 (patch)
tree905db0eac96329df9f57fbc353232b67c4916e6d /drivers/usb/misc/diag_ipc_bridge.c
parentc434e9712c9e2ddbb3db8b70c5cb6a6d032d5534 (diff)
soc: qcom: glink: Initialize local state while fetching ctx
Initialization of channel's local state is not done at the time of fetching context from list of channels. This leads to race condition if remote close happens during this time. Remote close will check if local state is not open then delete channel from list. This leads to use after free scenerio. Initialize local state at the time of fetching channel context from list of channels. CRs-Fixed: 2155992 Change-Id: If113daba129191bd67ef2460eb4e87c2d5614403 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Diffstat (limited to 'drivers/usb/misc/diag_ipc_bridge.c')
0 files changed, 0 insertions, 0 deletions