diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2021-05-10 11:46:49 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2021-05-10 11:46:49 -0700 |
commit | 957168e2b2e90aae4c1846989e87d49fc4e7df3e (patch) | |
tree | c43252531d904de0ba050b67c6c28a45b46cbaaf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 969f4ec61b7f6d069726ffcc795d438af7d47f7d (diff) |
Fix aapt badging segmentation fault
Unsigned subtraction lead to arithmetic overflow which caused aapt
to reference the vector out of its bounds.
Bug: 175789289
Test: dump badging on a manifest with no uses-sdk tag
Change-Id: Id1b96376a8bfe13c0c195bb6f62b681c3d686034
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions