commit | 47f3657f4e6a10f22410c355f49bd68348e8eb45 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Tue Nov 10 10:53:55 2015 -0800 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Oct 24 23:41:21 2016 +0800 |
tree | 36183fa09b772c7d393cff830cce8556ed62c958 | |
parent | 9f261c83b6f7c1f1ebb9f125b2c5d52e01679a33 [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