Skip to content
Commit cbc7de44 authored by Soumya Managoli's avatar Soumya Managoli Committed by Gerrit - the friendly Code Review server
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 9005b27a
Please register or to comment