summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2018-05-03 10:05:04 +0100
committerAtanas Kirilov <akirilov@google.com>2018-05-22 21:59:22 +0000
commit2263da9539daef134395226a2718ba2d7af7547d (patch)
tree0a4f55bed3b63626323e243352bb7bb0237b72c0 /tools/aapt2/java/JavaClassGenerator.cpp
parent42ded39df8838f01a9c1b46592aaf6afea6236ca (diff)
Make safe label more safe
* limit the absolute maximum size of the label to 50000 characters [which is probably far more than necessary, but, can be dialed down] * use a string buffer while processing the string [instead of creating multiple string objects] Bug: 62537081 Test: Manual. Install APK in bug and see that it can be uninstalled Change-Id: Ibf63c2691ad7438a123e92110d95b1f50050f8b1 Merged-In: Ibf63c2691ad7438a123e92110d95b1f50050f8b1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions