commit | a014b6be3c7c6fb5cf9352a05baf84fca7a133c7 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Wed Oct 05 18:33:21 2016 +0900 |
committer | gitbuildkicker <android-build@google.com> | Thu Dec 01 14:46:49 2016 -0800 |
tree | 4bf7d0bb334f5a0673447240cf293534e55c2fc4 | |
parent | 0041a76256f0b43b4ccf3b00dee60dec0f3b52a4 [diff] |
Catch runtime exceptions when parsing DHCP packets Fix merge conflict into nyc-mr1-security-a-release This patch adds a try catch all to DHCP packet parsing so that DhcpClient does not choke on malformed packets, brinding down with it the whole framework. Test: added new unit tests catching the issue fixed in this patch. Bug: 31850211 Change-Id: I3c50a149fed6b2cbc4f40bb4f0e5bb2b56859b44 (cherry picked from commit 1af48bbbabdf276b7e7a5a86b28f67332ae6b04d)