bluez/obexd/client
Luiz Augusto von Dentz 6339cced97 obexd: Fix possible crash while processing pending request
session_process_queue needs to be able to access the request .func in
case an error happen and it later calls pending_request_free so .process
shall not attempt to free the request otherwise it will cause crashes:

Invalid read of size 8
   at 0x4349D2: session_process_queue (session.c:857)
   by 0x434AC5: setpath_complete.isra.1 (session.c:1026)
   by 0x434B29: setpath_cb (session.c:1077)
   by 0x416448: handle_response (gobex.c:1128)
   by 0x41739D: incoming_data (gobex.c:1402)
   by 0x59747FA: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x5974B97: ??? (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x5974EC1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x40E23F: main (main.c:322)
 Address 0x66e3d30 is 32 bytes inside a block of size 56 free'd
   at 0x4C2ACE9: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x597A50E: g_free (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x4345F5: pending_request_free (session.c:193)
   by 0x4348DF: session_process_setpath (session.c:1131)
   by 0x4349C9: session_process_queue (session.c:854)
   by 0x434AC5: setpath_complete.isra.1 (session.c:1026)
   by 0x434B29: setpath_cb (session.c:1077)
   by 0x416448: handle_response (gobex.c:1128)
   by 0x41739D: incoming_data (gobex.c:1402)
   by 0x59747FA: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x5974B97: ??? (in /usr/lib64/libglib-2.0.so.0.4200.2)
   by 0x5974EC1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4200.2)
2015-07-21 14:55:49 +03:00
..
bluetooth.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
bluetooth.h obexd: add bluetooth transport driver 2012-12-04 22:48:51 +01:00
dbus.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
dbus.h obexd: Remove unused D-Bus helper functions 2012-12-19 10:29:18 +02:00
driver.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
driver.h obexd/client: Add supported_features support 2014-12-02 11:36:01 +02:00
ftp.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
ftp.h obexd: add ftp target 2012-12-04 22:48:42 +01:00
manager.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
manager.h obexd: Add client prefix to client manager functions 2012-12-18 16:03:42 +02:00
map-event.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
map-event.h obexd/client: Add support for MAP Event Report 1.1 2014-09-17 11:16:37 +03:00
map.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
map.h obexd: Add basic support for MAP client in obex-client 2012-12-04 22:48:50 +01:00
mns.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
opp.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
opp.h obexd: add opp target 2012-12-04 22:48:42 +01:00
pbap.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
pbap.h obexd: add pbap target 2012-12-04 22:48:42 +01:00
session.c obexd: Fix possible crash while processing pending request 2015-07-21 14:55:49 +03:00
session.h obexd: Fix includes for gdbus.h header 2015-03-01 00:19:28 -08:00
sync.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
sync.h obexd: add sync target 2012-12-04 22:48:42 +01:00
transfer.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
transfer.h obexd: Add Session property to Transfer interface 2012-12-21 17:06:10 +02:00
transport.c obexd: Fix cross includes from client and plugins 2015-03-01 01:38:12 -08:00
transport.h obexd: Add getattribute to obc_transport 2013-04-17 13:31:05 +03:00