commit | e863b7b8285f122fafbab5439ad3c337172bff6c | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Jun 02 13:57:57 2023 +0000 |
committer | Adrian Roos <roosa@google.com> | Thu Nov 07 17:09:33 2024 +0100 |
tree | e59bf1095f7e653af358f224fc85dd5c95231b45 | |
parent | 234ea361175a8fb652690ec4474986bb101a1ac3 [diff] |
InputMethodSubtypeArray: prevent negative count injection Fixes an issue where negative counts could be injected via the Parcel constructor. The writeToParcel method in that case would write data that a subsequent read would not consume. Fixes: 277916797 Fixes: 354682735 Test: atest InputMethodSubtypeArrayTest Merged-In: I7e881d82415051179c59bf5df97f8ba0a41e693e Change-Id: I7e881d82415051179c59bf5df97f8ba0a41e693e