bluez/plugins
Luiz Augusto von Dentz 2542c37b6d service: Fix passing stack variable as reference value
BDADDR_ANY cannot be return as it uses stack allocation:

Conditional jump or move depends on uninitialised value(s)
   at 0x170E47: sdp_record_remove (sdpd-database.c:269)
   by 0x17071A: remove_record_from_server (sdpd-service.c:290)
   by 0x14D416: exit_callback (service.c:131)
   by 0x124396: service_filter (watch.c:486)
   by 0x12405A: message_filter (watch.c:554)
   by 0x4F63A35: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.5.6)
   by 0x122EE7: message_dispatch (mainloop.c:76)
   by 0x4C7B3BA: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x4C7A824: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x4C7AB57: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x4C7AF51: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x1225B1: main (main.c:551)
 Uninitialised value was created by a stack allocation
   at 0x1705B0: add_record_to_server (sdpd-service.c:235)

Conditional jump or move depends on uninitialised value(s)
   at 0x4A0AD21: bcmp (mc_replace_strmem.c:889)
   by 0x4C959E0: g_slist_find_custom (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x17C059: manager_find_adapter (manager.c:291)
   by 0x170E8F: sdp_record_remove (sdpd-database.c:270)
   by 0x17071A: remove_record_from_server (sdpd-service.c:290)
   by 0x14D416: exit_callback (service.c:131)
   by 0x124396: service_filter (watch.c:486)
   by 0x12405A: message_filter (watch.c:554)
   by 0x4F63A35: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.5.6)
   by 0x122EE7: message_dispatch (mainloop.c:76)
   by 0x4C7B3BA: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4)
   by 0x4C7A824: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4)
 Uninitialised value was created by a stack allocation
   at 0x1705B0: add_record_to_server (sdpd-service.c:235)
2012-10-09 10:51:41 +02:00
..
adaptername.c adapter: Convert adapter_get_address into simple getter 2012-10-05 11:20:18 +03:00
dbusoob.c adapter: Convert adapter_get_address into simple getter 2012-10-05 11:20:18 +03:00
external-dummy.c Add external dummy plugin for testing 2011-08-14 14:08:29 -07:00
formfactor.c formfactor: Add missing comma 2011-08-29 13:45:41 +03:00
gatt-example.c GATT: Move GATT assigned numbers to GATT header 2012-05-30 10:39:03 +03:00
neard.c mgmt: Constify use of bdaddr_t pointer parameters 2012-10-05 11:28:26 +03:00
service.c service: Fix passing stack variable as reference value 2012-10-09 10:51:41 +02:00
storage.c Move logging.{c,h} to log.{c,h} 2010-05-21 14:40:36 +02:00
wiimote.c device: Convert device_get_address into simple getter 2012-10-05 11:27:45 +03:00