diff options
| author | 2023-06-02 13:57:57 +0000 | |
|---|---|---|
| committer | 2024-11-07 17:09:33 +0100 | |
| commit | 86906b7cb471fa0f9f7fd8a391d3b10b2fc29046 (patch) | |
| tree | 5a76d89f9aeada17112fa2f2ddd58e29118160a6 /libs/androidfw/Util.cpp | |
| parent | 2719ef089a19a3ac8e0872e4ea38d9b127c4444f (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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions