summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2023-06-02 13:57:57 +0000
committer Adrian Roos <roosa@google.com> 2024-11-07 17:09:33 +0100
commite863b7b8285f122fafbab5439ad3c337172bff6c (patch)
treee59bf1095f7e653af358f224fc85dd5c95231b45 /libs/androidfw/ApkParsing.cpp
parent234ea361175a8fb652690ec4474986bb101a1ac3 (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/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions