Skip to content
Commit 5ee4115f authored by Soumya Managoli's avatar Soumya Managoli Committed by Kader Bava
Browse files

dsp: q6lsm: Address use after free for mmap handle



The global declared mmap_handle can be left dangling
for case when the handle is freed by the calling function.
Fix is to address this. Also add a check to make sure
the mmap_handle is accessed legally.

Change-Id: I367f8a41339aa0025b545b125ee820220efedeee
Signed-off-by: default avatarSoumya Managoli <quic_c_smanag@quicinc.com>
parent d85e48f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment