commit | 24dc742abc1fa4f953b42750ec08e3ec4586de42 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Tue Nov 10 10:53:55 2015 -0800 |
committer | Ruchi Kandoi <kandoiruchi@google.com> | Tue Nov 10 19:05:35 2015 +0000 |
tree | cbefd80b3e2ff0e6d4da8cf3c62ac836dee970be | |
parent | 4f4f7cc39a76fb84ca54631caa9d06dfc12b489d [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