commit | e0ea7fecd63002ac2d3df18490fd1c16578d1935 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Wed Oct 05 18:33:21 2016 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Wed Oct 05 21:58:26 2016 +0900 |
tree | 637ad9a456414581168da353e063e74c894b2932 | |
parent | f4dabe3ecf764d504767cd52de59e69a7b5f2676 [diff] |
Catch runtime exceptions when parsing DHCP packets 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