aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2015-11-10 10:53:55 -0800
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:54:24 -0800
commit594354108648b4e58810a87b3539fec31bda903b (patch)
tree660d566e7b3c84e30d54669e36be8c7a26833d11 /drivers/input
parentaa29c32d396b6e7cf9192e607760fa1d6a56cc21 (diff)
wakeup: Add the guard condition for len in pm_get_active_wakeup_sources
Check if the len is not greater than maximum to prevent buffer overflow. Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com> Change-Id: I575b0a72bb5448b68353408d71fa8b83420c9088
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions