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

Skip to content
Commit ebdc05e6 authored by Edgar Flores's avatar Edgar Flores Committed by vgattupa
Browse files

msm: ADSPRPC: Fix buffer length for capability API



Buffer size was being set incorrectly. Buffer length for dsp attributes
was being set to 4 times its actual buffer size. This was causing
stack-out-of-bounds when trying to copy back the buffer on function
put_args.
Fix is to set buffer length to the correct buffer size of dsp attributes.

Change-Id: I755034ca503d58443fa6f14bf03c18d448b290b4
Signed-off-by: default avatarEdgar Flores <edgarf@codeaurora.org>
parent cb770397
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