Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0adde63 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: msm8x16-wcd: Fix slab corruption due to incorrect malloc size



In SSR, when reg_cache param is updated using kmemdup
size parameter used is reg_word_size which is value 1.
This will result in slab corruption. Update the size
parameter to correct size.

Change-Id: Ia4b30281f201bd4cef31d7068f021e7c964e0d30
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent aa3aa09a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment