bluez/src
Luiz Augusto von Dentz 3382ea0558 shared/queue: Fix invalid read
If the queue elements are destroyed by queue_destroy the head will point
to freed memory causing the following error when unit/test-queue is run:

Invalid read of size 8
   at 0x401040: queue_foreach (queue.c:194)
   by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x40083E: main (test-queue.c:109)
 Address 0x7f65738 is 8 bytes inside a block of size 16 free'd
   at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x400E29: queue_destroy (queue.c:93)
   by 0x40102C: queue_foreach (queue.c:219)
   by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x40083E: main (test-queue.c:109)
2014-06-27 14:02:25 +03:00
..
shared shared/queue: Fix invalid read 2014-06-27 14:02:25 +03:00
adapter.c core: Fix bogus check to resume pending authorizations 2014-06-26 13:30:39 +03:00
adapter.h core: Export API for tracking connection failures 2014-05-15 11:16:33 +03:00
agent.c agent: Allow to stack default agents 2014-04-29 11:24:17 +03:00
agent.h core: Remove unused agent_matches function 2012-12-17 12:50:39 +02:00
attio.h Add ATT disconnect callback 2011-07-14 17:40:29 +03:00
attrib-server.c Remove unneeded headers include 2014-04-04 21:21:42 +03:00
attrib-server.h core: Fix associating a GAttrib to a device on incoming connections 2014-03-05 22:39:01 +02:00
bluetooth.conf bluetooth.conf: Add ObjectManager interface 2014-03-06 16:53:36 +02:00
bluetooth.service.in core: Remove NET_RAW from list of required capabilities 2013-10-22 11:37:24 +03:00
bluetooth.ver core: Export some symbols from libbluetooth 2013-11-27 11:19:11 +02:00
bluetoothd.8.in man: Update bluetoothd manual 2013-06-13 16:15:01 +03:00
dbus-common.c core: Remove unused emit_array_property_changed function 2012-12-16 13:25:14 +02:00
dbus-common.h core: Remove pointless temporary adapter path variable 2013-01-04 11:55:00 -08:00
device.c core: Fix using address of array instead of size 2014-06-23 14:37:28 +03:00
device.h core: Improve handling of unpaired event 2014-05-19 20:40:31 +03:00
eir.c eir: Use unsigned int for flags in struct eir_data 2014-03-22 21:49:53 +02:00
eir.h core: Move EIR flags definitions to eir.h 2014-03-24 14:42:50 +02:00
error.c Revert "Ensure config.h is included by using CPPFLAGS" 2012-12-07 12:46:04 +02:00
error.h Add btd_error_not_ready() 2010-12-16 21:45:43 +02:00
gatt-dbus.c gatt: Fix not replying for write requests 2014-04-22 14:33:51 +03:00
gatt-dbus.h gatt: Register Manager D-Bus Interface 2014-02-24 10:18:30 +02:00
gatt.c gatt: Add helper for removing GATT services 2014-04-03 10:22:55 +03:00
gatt.h gatt: Add helper for removing GATT services 2014-04-03 10:22:55 +03:00
genbuiltin Switch to a full non-recursive build system 2009-08-23 00:40:59 -07:00
hcid.h core: Add API to get access to main.conf 2014-05-15 11:16:34 +03:00
log.c core: Get rid of gchar 2013-05-02 09:03:57 +03:00
log.h codingstyle: Change __FUNCTION__ to __func__ 2013-09-11 13:22:08 +03:00
main.c core: Fix missing static declaration for main_conf 2014-05-15 17:02:10 +03:00
main.conf plugins/policy: Add support to retreive ReconnectUUIDs from main.conf 2014-05-15 11:19:32 +03:00
org.bluez.service Add dbus service file that references the systemd unit 2012-05-17 20:47:02 +03:00
oui.c core: Remove legacy parsing of OUI database 2013-09-15 20:01:00 -07:00
oui.h core: Add support for udev based batocomp implementation 2012-12-09 00:36:41 +01:00
plugin.c build: Make btio/btio.h include local 2014-01-25 20:32:27 -08:00
plugin.h plugin: Use weak reference for external debug statements 2011-08-16 09:16:20 -07:00
profile.c core/profile: Fix regression when registering for client only 2014-04-22 10:44:44 +03:00
profile.h profile: Use btd_service for connect/disconnect 2013-04-26 14:48:32 +03:00
rfkill.c rfkill: Fix count parameter in read 2013-01-04 16:16:50 +02:00
sdp-client.c build: Make btio/btio.h include local 2014-01-25 20:32:27 -08:00
sdp-client.h core: Add flags parameter to bt_search_service 2014-01-20 15:19:25 +02:00
sdp-xml.c sdp: Fix missing sdp_xml_parse_string_decode() NULL return check 2014-06-16 16:09:12 +03:00
sdp-xml.h core: Make sdp-xml encoding defines private 2012-12-18 11:33:51 +02:00
sdpd-database.c sdp: Fix memory issues to avoid potential crash 2014-06-16 16:09:12 +03:00
sdpd-request.c Replace bt_put_be32() by put_be32() 2014-03-24 22:03:09 +02:00
sdpd-server.c Don't register Device ID record on sdp server start 2013-10-10 22:38:08 +02:00
sdpd-service.c Replace bt_put_be32() by put_be32() 2014-03-24 22:03:09 +02:00
sdpd.h core: Remove not needed sdp_init_services_list function 2013-09-23 10:46:20 +03:00
service.c core: Do not change service state in btd_service_connect if it fails 2013-11-14 14:55:30 +02:00
service.h core/service: Rename service_shutdown to service_remove 2013-07-10 12:55:14 +03:00
storage.c Rename glib-helper to uuid-helper 2014-01-21 14:12:47 +02:00
storage.h core: Remove __TEXTFILE_H header inclusion protection 2014-01-22 08:01:35 -08:00
systemd.c core: Provide implementation for sd_notify helper 2012-12-10 01:10:40 +01:00
systemd.h core: Add stub for systemd notification integration 2012-12-09 23:58:51 +01:00
textfile.c textfile: Fix a pointer arithmetic logic bug in read_key() 2013-03-15 16:29:19 -05:00
textfile.h core: Remove __TEXTFILE_H header inclusion protection 2014-01-22 08:01:35 -08:00
uinput.h Fix spelling errors 2012-04-04 13:03:54 +03:00
uuid-helper.c src/uuid-helper: Remove unnecessary GLib usage" 2014-01-21 14:51:39 +02:00
uuid-helper.h Rename glib-helper to uuid-helper 2014-01-21 14:12:47 +02:00