summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2021-01-13 17:21:29 -0800
committerRyan Mitchell <rtmitchell@google.com>2021-01-13 17:53:47 -0800
commit9289a043153435fcb54b57f63b3a5a27565f2a9a (patch)
treef7f48177af2374dd9230065166898a60bfa999d4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfb4d09cadd27a3fb1a2e268417f0f511aa92e344 (diff)
Fail idmap parsing earlier if version differs
Variable length strings are now in the idmap format. Idmap attempts to parse the old idmap files using the new format and can interpret old data as the length of a variable length string. Fail parsing idmap header early if the idmap magic or version differs from what is expected. Bug: 177295273 Test: boot, apply change, reboot Change-Id: I2914f11547424457fdb78de0ad03976e1fc81084
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions