summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2017-11-09 16:49:33 -0800
committerNathan Harold <nharold@google.com>2017-12-04 15:12:14 -0800
commit3349b26630903dec820df3da84078fafc0bb8dbf (patch)
treecbff0d4a7d6d0d1771bf8539b39ef743e2f52b43 /tools/aapt2/java/JavaClassGenerator.cpp
parentdb122f90d9e497b64f9e15dfb91fed98fbe18165 (diff)
Validate IpSecAlgorithm Length
Improve the Validation of IpSecAlgorithm by explicitly checking the length in addition to the truncation length (previously an oversight). In addition, we now check the lengths during un-parceling, which will catch someone maliciously manually building a parcel and passing it, bypassing the checks in the constructor. Bug: 68780091 Test: runtest -x IpSecAlgorithmTest.java Change-Id: I8172762617264d34f47d5144336464510f07a701
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions