ofono/gatchat
Slava Monich bf5f4242a2 gatmux: Remove write watch source at shutdown
Otherwise write_watcher_destroy_notify can be invoked after
GAtMux has been deallocated which results in write after free:

==3952== Invalid write of size 4
==3952==    at 0xABF54: write_watcher_destroy_notify (gatmux.c:285)
==3952==    by 0x4AF21E7: g_source_callback_unref (gmain.c:1561)
==3952==    by 0x4AF2E53: g_source_destroy_internal.constprop.8 (gmain.c:1207)
==3952==    by 0x4AF61CF: g_main_dispatch (gmain.c:3177)
==3952==    by 0x4AF61CF: g_main_context_dispatch (gmain.c:3769)
==3952==    by 0x4AF658F: g_main_loop_run (gmain.c:4034)
==3952==    by 0xBDDBB: main (main.c:261)
==3952==  Address 0x50c6cb0 is 8 bytes inside a block of size 4,396 free'd
==3952==    at 0x4840B28: free (vg_replace_malloc.c:530)
==3952==    by 0xACB53: g_at_mux_unref (gatmux.c:642)
==3952==  Block was alloc'd at
==3952==    at 0x4841BF0: calloc (vg_replace_malloc.c:711)
==3952==    by 0xAC9DF: g_at_mux_new (gatmux.c:603)
==3952==    by 0xADF2F: g_at_mux_new_gsm0710_basic (gatmux.c:1160)
2017-10-23 17:22:56 -05:00
..
crc-ccitt.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
crc-ccitt.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gat.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatchat.c gatchat: Use g_slist_free_full 2016-04-22 15:23:22 -05:00
gatchat.h gatchat: Introduce g_at_chat_get_userdata 2015-05-13 09:57:52 -05:00
gathdlc.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gathdlc.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatio.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatio.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatmux.c gatmux: Remove write watch source at shutdown 2017-10-23 17:22:56 -05:00
gatmux.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatppp.c gatchat: Fix up minor coding style issues 2014-06-21 11:54:26 -05:00
gatppp.h gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
gatrawip.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatrawip.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatresult.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatresult.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatserver.c gatchat: Reword the fall through cases to avoid compiler warnings 2017-07-11 10:44:15 -07:00
gatserver.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatsyntax.c gatchat: Fix parsing fields with odd number of quotation marks 2016-11-10 10:18:26 -06:00
gatsyntax.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gattty.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gattty.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatutil.c gatutil: Use g_ascii_isprint instead of isprint 2012-01-11 14:31:45 -06:00
gatutil.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsm0710.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsm0710.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsmdial.c gsmdial: Set recording after ppp_open 2012-01-02 10:57:27 -06:00
ppp.h gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
ppp_auth.c gatchat: Fix up minor coding style issues 2014-06-21 11:54:26 -05:00
ppp_cp.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ppp_cp.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ppp_ipcp.c gatchat: Reword the fall through cases to avoid compiler warnings 2017-07-11 10:44:15 -07:00
ppp_ipv6cp.c gatchat: Reword the fall through cases to avoid compiler warnings 2017-07-11 10:44:15 -07:00
ppp_lcp.c gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
ppp_net.c ppp_net: Make static analysis tools happy 2015-07-28 10:16:16 -05:00
ringbuffer.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ringbuffer.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
test-qcdm.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
test-server.c gatchat: Add support for shutting down the server 2016-01-11 15:32:54 -06:00