diag: Prevent possible use-after-free while updating event mask
There is a possibility of use-after-free while populating response
for update event mask because of using mask_info without holding
md_session_lock. The patch fixes this issue by using source buffer
for populating command response.
Change-Id: I45558a9cb628ec075e1e03e55e840121769c7660
Signed-off-by:
Hardik Arya <harya@codeaurora.org>
Loading
Please register or sign in to comment