diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-10-05 18:33:21 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2016-10-05 21:58:26 +0900 |
commit | e0ea7fecd63002ac2d3df18490fd1c16578d1935 (patch) | |
tree | 637ad9a456414581168da353e063e74c894b2932 /tools/aapt2/diff/Diff.cpp | |
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions