summaryrefslogtreecommitdiffstats
path: root/gatchat/test-server.c
diff options
context:
space:
mode:
authorJohn Ernberg <john.ernberg@actia.se>2016-01-07 10:46:21 +0000
committerDenis Kenzior <denkenz@gmail.com>2016-01-07 10:31:10 -0600
commitc331d72d1d8bce1c471209c3accf117fc7cd9dbc (patch)
treebb7f8e70215196f7e3aa52f5d866c58c038a59f6 /gatchat/test-server.c
parent6df0655aa3e2137e8baef33b1d58112542ce2eac (diff)
downloadofono-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 'gatchat/test-server.c')
0 files changed, 0 insertions, 0 deletions