summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Wachenschwanz <mwachens@google.com>2020-02-26 23:49:13 -0800
committerMichael Wachenschwanz <mwachens@google.com>2020-02-27 17:44:14 -0800
commit240896281bb320ef2ecae9e22786f839f832ddb1 (patch)
tree800fc7528f25a3333d247ffaaf39678f59216e9e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent969e1e2759c0fad8862df2a9b4467e2e0bfb4594 (diff)
Throw ProtoParseException for incomplete values
Reading a corrupted stream/file could cause an infinite loop while reading values. Throw an exception if unexpectedly reached the end of the stream. Bug: 150192344 Test: atest ProtoInputStreamTests Change-Id: Ie660545152ba821be0c371dd1e3bf7235372bc6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions