Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78ab6c44 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Dmitry Shmidt
Browse files

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: default avatarRuchi Kandoi <kandoiruchi@google.com>
Change-Id: I575b0a72bb5448b68353408d71fa8b83420c9088
parent fe1e63ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment