ofono/plugins
Mikel Astiz c9d3ce5c22 hfp_hf: Fix modifying hash table while iterating
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
..
alcatel.c alcatel: Update to new sim_state_query API 2012-04-18 04:07:43 -05:00
bluetooth.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
bluetooth.h plugins: Update copyright information 2011-10-10 13:39:54 -07:00
caif.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
calypso.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
cdma-provision.c cdma-provision: Add cdma provisioning plugin 2012-01-07 12:40:47 -06:00
connman.c connman: Fix crash due to uninitialized path 2011-07-28 00:12:13 -05:00
dun_gw.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
g1.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
gobi.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
hfp_ag.c hfp_ag: Fix empty parameter list in functions 2011-12-28 16:18:07 -06:00
hfp_hf.c hfp_hf: Fix modifying hash table while iterating 2012-04-19 07:41:27 -05:00
hso.c hso: Don't access freed data, in hso_set_online 2012-02-27 15:16:37 -08:00
huawei.c huawei: Select USSD atom driver based on firmware mode 2012-01-12 06:02:27 +01:00
icera.c icera: Add skeleton for Icera modem plugin 2012-04-06 16:28:35 +02:00
ifx.c ifx: Add support for Assisted Satellite Navigation 2012-02-16 13:06:52 +01:00
isiusb.c isiusb: wait for MTC transitions, too 2011-04-19 10:09:34 +03:00
linktop.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
mbm.c mbm: Update to new sim_state_query API 2012-04-18 04:08:02 -05:00
mbpi.c plugins: Make the code a bit prettier 2011-11-16 03:59:40 -06:00
mbpi.h mbpi: Add mbpi_lookup_cdma_provider_name API 2011-11-16 03:53:28 -06:00
n900.c isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
nokia-gpio.c nokia-gpio: Fix memory leak 2011-05-11 13:29:33 -05:00
nokia-gpio.h isi: Private header files don't need circular inclusion protection 2010-10-01 06:52:38 +02:00
nokia.c nokia: Setup CSCS on both ports 2012-01-11 06:38:28 -06:00
nokiacdma.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
novatel.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
ofono-speedup.rules Add udev rules for SpeedUp U3501 2012-04-06 09:32:15 -05:00
ofono.rules ofono.rules: Add N900 rule for stock kernels 2012-01-07 13:20:09 -06:00
palmpre.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
phonesim.c phonesim: Add handsfree atom to localhfp 2011-10-21 13:57:13 -05:00
phonesim.conf build: Add example configuration for phonesim plugin 2010-10-25 20:48:55 +02:00
provision.c provision: Update to the new mbpi API 2011-11-14 14:10:54 -06:00
push-notification.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
samsung.c samsung: Update to new sim_state_query API 2012-04-18 04:08:15 -05:00
sap.c sap: Add modem type sap 2011-11-22 20:34:48 -06:00
sierra.c sierra: Add support for DirectIP connections 2012-03-21 21:13:52 -07:00
sim900.c sim900: Add ussd and voice call support 2012-03-13 21:31:21 -05:00
smart-messaging.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
speedup.c speedup: Update to new sim_state_query API 2012-04-18 04:08:29 -05:00
speedupcdma.c speedupcdma: Create cdma-netreg atom 2011-12-15 22:39:57 -06:00
ste.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
stemgr.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
tc65.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
telit.c telit: Fix empty parameter list in function 2011-12-28 16:24:12 -06:00
u8500.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
udev.c udev: Add SIMCOM SIM900 detection support 2012-01-11 23:48:24 -06:00
udevng.c udev: Add detection support for Icera based devices 2012-04-06 16:19:36 +02:00
wavecom.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
zte.c zte: Update to new sim_state_query API 2012-04-18 04:08:44 -05:00