commit | 89aa6fb4d87b5a279150f15ad1f9bcfa03e3a261 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Tue Oct 11 11:39:39 2016 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Mon Oct 24 15:40:30 2016 +0900 |
tree | 411954bb7a92bf953358b6c61a127474269a1c9a | |
parent | 5d1bfd9d5f1251b91525641d7980e38f0379f7f0 [diff] |
DhcpClient: guard against failure to parse packets DhcpPacket.decodeFullPacket() is not exception safe and can throw various runtime exceptions when trying to parse malicious or malformed packets. This patch adds a generic catch-all-exception in DhcpClient to avoid propagating the exception and killing the framework process on reception of such malformed packets. Bug: 31850211 Change-Id: I2e723a792ff067ada2834da875700d4df16c5159