Commit 31f83b46 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smd_pkt: catch possible array out of bounds accesses



Check to see that the device timeout that is being accessed is a valid
device instead of always assuming we get a valid device, and thus prevent
an array out of bounds access.

Change-Id: I9690bede1820b9920594e3533c14b8a5c20b337f
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 1484f46c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment