commit | 78ab6c44983d584193396358691919f261483b16 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Tue Nov 10 10:53:55 2015 -0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Jan 27 13:52:29 2017 -0800 |
tree | e8bf75adfbe535a1bb50b346a3e3273860126fc2 | |
parent | fe1e63abc31c63ceb3e5757d2010a0b2046275db [diff] |
ANDROID: 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