summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2023-06-02 13:57:57 +0000
committer Adrian Roos <roosa@google.com> 2023-06-02 13:57:57 +0000
commitbc2fbfc0b73535ce9d0c9f73b5130cfffaf4daee (patch)
treefcb21f3dd58cb7fe960c92eea2d3e2e2d5bbedda /api/api_test.go
parent485a81164fc727c8a0174b55915be53ca6d16af5 (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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions