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

Commit 4c971c00 authored by Michael Wright's avatar Michael Wright
Browse files

Limit the number of keys read by KeyCharacterMaps.

Apps can send us a KCM containing a ridiculous key count, which will
cause us to crash when an allocation fails. Limit the key count so this
doesn't happen.

Bug: 24876135
Change-Id: I2bb4a5acabfc9184a867a406eef756c28c28f0ad
parent 99497cd8
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