Commit 9c231a16 authored by Trilok Soni's avatar Trilok Soni Committed by Bryan Huntsman
Browse files

msm: pmic: Fix transmit buffer overflow



pmic_buf_reserve() API should have kept the accounting of
length in the pmic_buf structure instead of pmic_rpc_req_reply()
in-order to avoid the overflow for the cases in the
the pmic_rpc_set_struct() API where size is more than
212 bytes.

CRs-Fixed: 294864
Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
parent 9e03c7f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment