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

Commit ab0f8613 authored by Kaushal Hooda's avatar Kaushal Hooda
Browse files

rpmsg: slatecom: maintain rx_size to read



For cmd close_ack or open request where rx_size is being
incrementing with respect to offset might lead to out of
bound read from rx_data.

Decrease rx_size as we process commands.

Change-Id: I492eadcbebb78386fc20f744eb9ad8db4a2914fc
Signed-off-by: default avatarKaushal Hooda <quic_khooda@quicinc.com>
parent 58e40179
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