commit | 32954f255554c7a0cc7cc71c279623f0f54cece9 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Fri Aug 20 07:56:26 2021 +0200 |
committer | Patrick Rohr <prohr@google.com> | Fri Aug 20 09:36:00 2021 +0200 |
tree | 461805f84ed91e11dd817acd4ed40dbeb221446a | |
parent | 0ba7e4cc58621c9e2e897e9ae6e0ae46ed205f85 [diff] |
prevent nullptr dereference when calling unwanted When the EthernetNetworkAgent has already been stopped, a call to unwanted will cause a crash due to a nullptr derefernce. Bug: 197279734 Test: atest EthernetNetworkFactoryTest Change-Id: Ice39c603bdd3e3139aa8ece7fb897bf7b567e74b