summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2018-11-16 18:06:59 -0800
committerPeter Collingbourne <pcc@google.com>2018-11-19 20:15:26 +0000
commit13a734dc96348ee799300894b225c3292d70ac6a (patch)
treefdb1bd115365add2ecc59fb5a0124c33c9dd7a5e /tools/aapt2/java/JavaClassGenerator.cpp
parent932f96b27fc4b36697269267496535f10883e845 (diff)
Fix a use-after-free found by HWAsan.
The variable sizeResult is an iterator pointing into mCurrentValues, and clearing mCurrentValues invalidates the iterator. Bug: 119773465 Change-Id: I940ea397af87561d33f74a9d52abc3afd0a7538f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions