diff options
author | Vishwath Mohan <vishwath@google.com> | 2015-03-12 10:47:14 -0700 |
---|---|---|
committer | Vishwath Mohan <vishwath@google.com> | 2015-03-12 11:08:28 -0700 |
commit | 9b754a1bb8c4111d31c70d418c0160192889117e (patch) | |
tree | 4295a858f4d485e8a75a9040c811a6d3fddbb301 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 67cf4a06c7f12389ccf131627bfcdfe8409fa598 (diff) |
Handle malformed manifests in printXMLBlock
Specially crafted manifest files can cause a segfault in printXMLBlock()
using improper tag nesting (without evaluating to
ResXMLTree::BAD_DOCUMENT). This fix checks and breaks when this
condition is detected.
Bug: 15549617
Change-Id: I27997fda86d228e993217a0c09993bff404cf317
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions