Commit b8b8bf87 authored by Paras Sharma's avatar Paras Sharma Committed by tanmmish
Browse files

bus: mhi: fix potential out-of-bound access



In the mhi_sat_isvalid_header function if the length is less than
the size of header then there can be out-of-bound access.

So fix the len check in the function.

Change-Id: I80f1556557b1bf2f30c07f6377bd6e3db48712b3
Signed-off-by: default avatarKrishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: default avatarParas Sharma <quic_parass@quicinc.com>
(cherry picked from commit 1cebc8ce)
parent 6bad3a7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment