commit | 6e0f9264acb81bc2281d5aad80125fe411616b74 | [log] [tgz] |
---|---|---|
author | Sandhya Mutha Naga Venkata <quic_smuthana@quicinc.com> | Thu Jul 20 14:40:44 2023 +0530 |
committer | Prashantsinh Parmar <prashantsinh.parmar@fairphone.partners> | Mon Jan 29 11:01:31 2024 +0100 |
tree | 41bafbfbbfead930672ed104b4dc428cf2a83075 | |
parent | 26e89ebe50122a44ef2f27dffac70ac6b9b43bcf [diff] |
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. Issue: FP3SEC-1254 Change-Id: I367f8a41339aa0025b545b125ee820220efedeee Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com> (cherry picked from commit 6b8f3568740661978d7d60567ff5e27b5fb7d28d)