diff options
| author | 2023-06-02 13:57:57 +0000 | |
|---|---|---|
| committer | 2024-11-07 17:09:33 +0100 | |
| commit | 1e973616542153aaed999c4f1c292ce493f40049 (patch) | |
| tree | df573c0e7a35464163b7347bed0e41d914f09d42 /tools/aapt2/ResourceTable.cpp | |
| parent | e81fa0c19c07a5b6509c3f844b69847a96c7a815 (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 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions