commit | d9a6b2fd34665384b52225e8ec99a2d3070430f0 | [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 11:19:05 2015 -0800 |
tree | c5151b8427488fae62734c626f14906d68cd2514 | |
parent | 52687d29b62f2ee22ee75a8304130391ad9f5226 [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