ASoC: msm: qdsp6v2: Copy frame data based on frame length
Copying data based on count will result in copying
uninitialized data to userspace which can potentially
disclose sensitive data. Fix by copying data based on
frame instead.
CRs-Fixed: 552528, 552531
Change-Id: I307b285ef2aefe00b953cf650582e9ff7e03ceb1
Signed-off-by:
Shiv Maliyappanahalli <smaliyap@codeaurora.org>
Loading
Please register or sign in to comment