bluez/gobex
Luiz Augusto von Dentz c9f3b81d07 gobex: Fix crash on g_obex_pending_req_abort
It is not safe to call g_obex_pending_req_abort directly as pending_req
can be NULL:
Invalid read of size 4
   at 0x41231E: g_obex_pending_req_abort (gobex.c:693)
   by 0x416A8A: g_obex_cancel_transfer (gobex-transfer.c:647)
   by 0x42DEF2: obc_transfer_cancel (transfer.c:180)
   by 0x43D833: process_message.isra.5 (object.c:259)
   by 0x3B0701CE85: ??? (in /usr/lib64/libdbus-1.so.3.7.4)
   by 0x3B0700FA30: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.7.4)
   by 0x43A5B7: message_dispatch (mainloop.c:76)
   by 0x3B03C48962: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3B03C47E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3B03C48157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3B03C48559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x40D53C: main (main.c:319)
 Address 0x30 is not stack'd, malloc'd or (recently) free'd
2013-09-29 17:01:07 +03:00
..
gobex-apparam.c gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-apparam.h gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-debug.h codingstyle: Change __FUNCTION__ to __func__ 2013-09-11 13:22:08 +03:00
gobex-defs.c gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-defs.h gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-header.c gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-header.h gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-packet.c gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-packet.h gobex: Fix GPL version reference 2013-02-15 16:25:29 +02:00
gobex-transfer.c gobex: Fix crash on g_obex_pending_req_abort 2013-09-29 17:01:07 +03:00
gobex.c gobex: Get rid of gchar 2013-05-02 09:02:31 +03:00
gobex.h gobex: Get rid of gint 2013-05-01 09:04:21 +03:00