android_kernel_motorola_sm6225/drivers/bus/mhi
Paras Sharma 1cebc8ce23 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: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2023-10-04 11:53:41 +05:30
..
controllers mhi: cntrl: Update device MMIO region length for MHI core 2020-05-20 15:27:53 +05:30
core bus: mhi: misc: Add check for dev_rp if it is iommu range or not 2023-07-31 14:47:10 +05:30
devices bus: mhi: fix potential out-of-bound access 2023-10-04 11:53:41 +05:30
Makefile spdx: Modify spdx tag from GPL-2.0 to GPL-2.0-only 2018-12-10 11:09:45 -08:00