commit | bc2fbfc0b73535ce9d0c9f73b5130cfffaf4daee | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Jun 02 13:57:57 2023 +0000 |
committer | Adrian Roos <roosa@google.com> | Fri Jun 02 13:57:57 2023 +0000 |
tree | fcb21f3dd58cb7fe960c92eea2d3e2e2d5bbedda | |
parent | 485a81164fc727c8a0174b55915be53ca6d16af5 [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 Test: atest InputMethodSubtypeArrayTest Change-Id: I7e881d82415051179c59bf5df97f8ba0a41e693e