forked from rubenslte/android_kernel_samsung_msm8226
Token from DSP might be invalid for array index. Validate the token before being used as array index. Bug: 129850483 Change-Id: I9f47e1328d75d9f9acf7e85ddb452019b6eced0a Signed-off-by: Xiaojun Sang <xsang@codeaurora.org> Signed-off-by: Siqi Lin <siqilin@google.com> [haggertk: Backport to 3.4/msm8974] CVE-2019-2326 Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>