aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2022-07-08 10:47:47 +0000
committerVinod Koul <[email protected]>2022-09-01 08:56:44 +0000
commit4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b (patch)
tree39ecbef959f7dcd4683ed71a610baed605ba65d3 /drivers/android/binder_alloc.c
parentsoundwire: qcom: remove duplicate reset control get (diff)
downloadkernel-4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b.tar.gz
kernel-4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b.zip
soundwire: qcom: fix device status array range
This patch updates device status array range from 11 to 12 as we will be reading status from device number 0 to device number 11 inclusive. Without this patch we can potentially access status array out of range during auto-enumeration. Fixes: aa1262ca6695 ("soundwire: qcom: Check device status before reading devid") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions