| c9f3b81d |
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 |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -1 |
| d3936739 |
tools: Limit controller type to two bits of device info type |
Marcel Holtmann |
12 years ago |
1 file, +2, -2 |
| 24d9643a |
lib: Update company identifiers |
Marcel Holtmann |
12 years ago |
1 file, +10, -0 |
| 4b354f1c |
obexd/bluetooth: Fix memory leak when adapter is off
sdp_connect fails when Bluetooth adapter is off which leads to the
following leak:
37 bytes in 1 blocks are definitely lost in loss record 68 of 165
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C64BAE: g_strdup (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x427D5D: bluetooth_connect (bluetooth.c:410)
by 0x426CC9: obc_session_create (session.c:454)
by 0x425693: create_session (manager.c:203)
by 0x43D8A3: 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 0x43A627: 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) |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -1 |
| 0976ae7b |
obexd: Clarify the folder property of PushMessage
The folder property of PushMessages does not accept path information,
it allows only to request the messages to be added to a subfolder of the
current folder. |
Christian Fetzer |
12 years ago |
1 file, +3, -2 |
| a21bec4d |
obexd: Clarify the folder property of ListMessages
The folder property of ListMessages does not accept path information,
it allows only to request the messages of a subfolder of the current
folder. |
Christian Fetzer |
12 years ago |
1 file, +2, -1 |
| f6e2691c |
obexd: Fix setting message folder for relative folder in ListMessages
The method ListMessages allows to specify a relative subfolder.
This subfolder needs to be added to the current path when registering
a new message interface. |
Christian Fetzer |
12 years ago |
1 file, +16, -2 |
| 0c254a04 |
obexd: Add folder property to map_msg_create
Message interfaces are not necessarily created for the current folder,
therefore the folder needs to be specified in a parameter.
For example, messages can be created for sub folders when using the folder
parameter in ListMessages. |
Christian Fetzer |
12 years ago |
1 file, +5, -3 |
| 0978ffbd |
doc: Update description for Set Advertising command |
Marcel Holtmann |
12 years ago |
1 file, +7, -2 |
| 83b702c6 |
tools/mgmt-tester: Add basic rejection test case for LE advertising |
Johan Hedberg |
12 years ago |
1 file, +10, -0 |
| 7ee158fb |
tools/mgmt-tester: Add basic LE advertising success test cases |
Johan Hedberg |
12 years ago |
1 file, +35, -0 |
| a0b987a0 |
tools/mgmt-tester: Take into account new "advertising" supported setting |
Johan Hedberg |
12 years ago |
1 file, +2, -2 |
| b9312f02 |
monitor: Add support for LE Advertising mgmt setting |
Johan Hedberg |
12 years ago |
1 file, +2, -1 |
| 5d8b3ba4 |
emulator/bthost: Add support for creating LE connections |
Johan Hedberg |
12 years ago |
3 files, +29, -7 |
| f4bbedec |
tools/btmgmt: Add support for setting LE advertising |
Johan Hedberg |
12 years ago |
1 file, +8, -0 |
| 8c77159a |
mgmt: Add defines for new advertising setting |
Johan Hedberg |
12 years ago |
1 file, +4, -0 |
| b06eba41 |
doc: Fix mgmt_set_le error code list |
Johan Hedberg |
12 years ago |
1 file, +2, -1 |
| 2f51cade |
doc: Add mgmt_set_advertising details to mgmt API |
Johan Hedberg |
12 years ago |
1 file, +22, -0 |
| f4374b07 |
obexd/service: Fix possible leaking drivers list
When registering a new driver with obex_service_driver_register there
could exist another driver for the service which will cause the drivers
list to leak. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +17, -1 |
| d6b20f4d |
obexd/server: Fix leaking drivers list
The leak can be detected by using G_SLICE=always-malloc which will
produce the following trace using valgrind:
112 bytes in 7 blocks are definitely lost in loss record 123 of 167
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C6344D: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C647A5: g_slist_append (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x424DD3: obex_service_driver_list (service.c:76)
by 0x42517F: obex_server_init (server.c:64)
by 0x40D439: main (main.c:304) |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -0 |
| b68ae057 |
unit: Remove not needed functions from test-sdp
SDP code no longer depends on adapter code. |
Szymon Janc |
12 years ago |
1 file, +0, -29 |
| be1b6b6b |
core: Remove not needed sdp_init_services_list function
It is doing nothing now and can be removed. |
Szymon Janc |
12 years ago |
3 files, +0, -25 |
| f538355c |
adapter: Handle removing of SDP records
Make adapter in charge of updating SDP database. This allow to decouple
SDP of code used for notifying adapters about SDP database change. |
Szymon Janc |
12 years ago |
13 files, +32, -32 |
| 3a34949d |
adapter: Handle adding new SDP records
Make adapter in charge of updating SDP database. This allow to decouple
SDP of code used for notifying adapters about SDP database change. |
Szymon Janc |
12 years ago |
10 files, +31, -30 |
| 6ae04b35 |
adapter: Insert DeviceID record if setting DeviceID data to controller
DeviceID is special since its record is registered on start by
sdpd-server and always has handle 0x10000. |
Szymon Janc |
12 years ago |
1 file, +5, -1 |
| 3719c6d2 |
lib: Update company identifiers |
Marcel Holtmann |
12 years ago |
1 file, +38, -0 |
| 12494337 |
core: Fix passing timeout when disabling discoverable mode
We should only pass a timeout value when enabling discoverable mode.
When disabling passing something non-zero would yield a "invalid
parameters" error. |
Johan Hedberg |
12 years ago |
1 file, +2, -1 |
| a41a27b1 |
emulator/bthost: Fix using correct address type for LE connections |
Johan Hedberg |
12 years ago |
1 file, +7, -1 |
| 9da79969 |
emulator/bthost: Fix ACL handle packing |
Johan Hedberg |
12 years ago |
1 file, +7, -2 |
| 064803eb |
emulator/bthost: Track address type for connections |
Johan Hedberg |
12 years ago |
1 file, +7, -3 |
| 2ebd4461 |
emulator/bthost: Use right CID for LE signaling |
Johan Hedberg |
12 years ago |
1 file, +7, -2 |
| 9844a8c3 |
emulator/bthost: Pass full ACL connection context around |
Johan Hedberg |
12 years ago |
1 file, +57, -62 |
| 07306b87 |
emulator: Add initial LE L2CAP signaling support to bthost |
Johan Hedberg |
12 years ago |
1 file, +92, -0 |
| 670d0ed2 |
emulator: Add LE Connection Complete handling to bthost |
Johan Hedberg |
12 years ago |
1 file, +18, -0 |
| 9e065d93 |
emulator: Refactor bthost ACL connection tracking |
Johan Hedberg |
12 years ago |
1 file, +16, -10 |
| c2f09ece |
emulator: Add skeleton for LE meta event handler in bthost |
Johan Hedberg |
12 years ago |
1 file, +18, -0 |
| 274df58a |
emulator: Add basic advertise enable support for bthost |
Johan Hedberg |
12 years ago |
2 files, +9, -0 |
| f7ab1f60 |
tools/l2cap-tester: Fix using right hciemu type |
Johan Hedberg |
12 years ago |
1 file, +1, -1 |
| 724a9042 |
emulator: Add basic support for LE connections |
Johan Hedberg |
12 years ago |
1 file, +59, -0 |
| 9cbc4f4b |
monitor: Add define for "Connection Failed To Be Established" |
Johan Hedberg |
12 years ago |
1 file, +1, -0 |
| 26218dbf |
emulator: Remove redundant empty line |
Johan Hedberg |
12 years ago |
1 file, +0, -1 |
| 388761cd |
sdp: Check correct number of bytes received in recv
Instead of checking for error check that correct number of bytes received. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| ce632ba9 |
doc: Update supported A2DP version to 1.3 |
Johan Hedberg |
12 years ago |
1 file, +2, -2 |
| bd97ccad |
tools/l2cap-tester: Add invalid config request server test |
Johan Hedberg |
12 years ago |
1 file, +16, -1 |
| 6444872a |
tools/l2cap-tester: Add invalid CID server test case |
Johan Hedberg |
12 years ago |
1 file, +15, -0 |
| fd6f39b0 |
tools/l2cap-tester: Fix sending right req code in tests |
Johan Hedberg |
12 years ago |
1 file, +1, -1 |
| a4ddde38 |
tools/l2cap-tester: Add expected response data to nval PDU test |
Johan Hedberg |
12 years ago |
1 file, +3, -0 |
| 3a943c92 |
Release 5.9 |
Marcel Holtmann |
12 years ago |
2 files, +12, -1 |
| 6ae5bc78 |
obexd/bluetooth: Fix memory leak
g_io_channel_unix_new creates a reference which is then passed to
obex_session_start which creates its on reference via g_io_channel_ref
leading to the following leak:
at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C88224: g_io_channel_unix_new (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x418967: profile_new_connection (bluetooth.c:148)
by 0x43D763: process_message.isra.5 (object.c:259) |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -0 |
| 829f5dc2 |
obexd: Remove msg from MAP session structure
The D-Bus message for a pending method call is now stored in the
pending_request struct. |
Christian Fetzer |
12 years ago |
1 file, +0, -1 |