Fix potential OOB read in sdpu_get_len_from_type
Add boundary check in sdpu_get_len_from_type to prevent potential OOB read. (This commit was skipped from oc-dr1-dev down, so the Merged-In tag is from a later CL to avoid a conflict) Bug: 117105007 Test: Manul Change-Id: I1bb50e840a977df1c0403f3cce2d73dd1a73aa62 Merged-In: I9f0df8b2de28970e7d69b737ce5d363785183bf3 (cherry picked from commit 9508374e) (cherry picked from commit 22f80bd1)
Loading
Please register or sign in to comment