commit | 82c3470df946ab1c6876f78dd62f02c6d8a8dcd4 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Thu Nov 09 16:49:33 2017 -0800 |
committer | Nathan Harold <nharold@google.com> | Mon Dec 04 15:12:14 2017 -0800 |
tree | f2c5d7608c0ccf4a3e4bd786cbcbc74652ff92b8 | |
parent | c80a1f23f3ef037ea87bb15fa0c31e3217ee75f0 [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