diff options
author | John Ernberg <john.ernberg@actia.se> | 2016-01-07 10:46:21 +0000 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2016-01-07 10:31:10 -0600 |
commit | c331d72d1d8bce1c471209c3accf117fc7cd9dbc (patch) | |
tree | bb7f8e70215196f7e3aa52f5d866c58c038a59f6 /drivers/isimodem/devinfo.c | |
parent | 6df0655aa3e2137e8baef33b1d58112542ce2eac (diff) | |
download | ofono-c331d72d1d8bce1c471209c3accf117fc7cd9dbc.tar.bz2 |
network: Fix crash caused by empty Scan() results
When issuing a Scan() in poor reception while attached to an operator it's
fully possible to get no results, which causes the attached operator to be
cleaned up. In certain scenarios this would cause a use-after-free as there
are still references to this operator.
Transfer the attached operator to the new list regardless of removal caused
by the Scan() results.
Diffstat (limited to 'drivers/isimodem/devinfo.c')
0 files changed, 0 insertions, 0 deletions