All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 5f9d9a: a2dp: disallow multiple SetConfiguration to same l...
@ 2022-06-13 18:26 BluezTestBot
  0 siblings, 0 replies; only message in thread
From: BluezTestBot @ 2022-06-13 18:26 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 5f9d9a9a0b38d7fdbd591c859b9bf9e437fb1b39
      https://github.com/bluez/bluez/commit/5f9d9a9a0b38d7fdbd591c859b9bf9e437fb1b39
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M profiles/audio/a2dp.c
    M profiles/audio/avdtp.c

  Log Message:
  -----------
  a2dp: disallow multiple SetConfiguration to same local SEP

Using the remote SEP SetConfiguration DBus API, it's possible to make
multiple remote endpoints use the same local SEP, if they are endpoints
from different connected devices. This is invalid: successful
configuration shall prevent a different device configuring the same SEP
(AVDTP v1.3 Sec. 5.3).  Moreover, this breaks the assumption in the
AVDTP code that each SEP has at most a single stream, and causes
misbehavior later on (subsequent transport acquires fail with EPERM).

Fix this by first checking the SEP is free before proceeding in the DBus
API call.  Also add a sanity check in avdtp_set_configuration, to reject
configuring an already configured SEP similarly as in avdtp_setconf_cmd.


  Commit: 9c288dd23a3bbd4a4e41c69882f5f18212da62b5
      https://github.com/bluez/bluez/commit/9c288dd23a3bbd4a4e41c69882f5f18212da62b5
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M profiles/audio/a2dp.c

  Log Message:
  -----------
  a2dp: error return paths in a2dp_reconfig must free allocated setup


  Commit: 6e2066fdab73e5b028be9c5fa667a4ea03349c7f
      https://github.com/bluez/bluez/commit/6e2066fdab73e5b028be9c5fa667a4ea03349c7f
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M tools/btproxy.c

  Log Message:
  -----------
  btproxy: Allow to select multiple BT controllers

When running on a computer with a real Bluetooth controller (e.g. hci0) and
multiple emulators (e.g. hci1 and hci2) it isn't possible to use the
emulators with 2 test-runner vms.
If btproxy is started without index parameter the first test-runner will
use hci0, and btprox can't be started with multiple index parameters
(e.g. -i1 -i2).

This patch keeps the old beahvior when used without -i option, in this case
it will try to use the first controller available.
It also allows to select multiple controllers to be used by btproxy.


  Commit: a7e2f05e029b4fab22c63318cc2763a55a524124
      https://github.com/bluez/bluez/commit/a7e2f05e029b4fab22c63318cc2763a55a524124
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M tools/test-runner.c

  Log Message:
  -----------
  test-runner: Add DBus session support

Audio daemons requests access to DBus session to start


  Commit: 096599c1ae852798a872b0294a6fb4decd1ee37a
      https://github.com/bluez/bluez/commit/096599c1ae852798a872b0294a6fb4decd1ee37a
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M doc/test-runner.txt

  Log Message:
  -----------
  doc/test-runner: Add audio config options

List the build options for an AC97 audio card necessary for test with
audio daemon.


  Commit: e20e7e0b05c7edb74255c9b092916ac5bb99c97f
      https://github.com/bluez/bluez/commit/e20e7e0b05c7edb74255c9b092916ac5bb99c97f
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M tools/test-runner.c

  Log Message:
  -----------
  test-runner: Add audio card support

With this commit audio daemons can detect an audio card with output and
input, allowing to test interaction between BlueZ and the audio daemon.


  Commit: 91a48af52efb0751fab396b2b9026c9186b10b88
      https://github.com/bluez/bluez/commit/91a48af52efb0751fab396b2b9026c9186b10b88
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M tools/test-runner.c

  Log Message:
  -----------
  test-runner: Add udevd and trigger events

Kernel events should have been managed so the audio card is accessible
from PipeWire


  Commit: c6d3bcf3d005ad9c9f8a85a68c88aa7f231d9a60
      https://github.com/bluez/bluez/commit/c6d3bcf3d005ad9c9f8a85a68c88aa7f231d9a60
  Author: wangyouwan <wangyouwan@uniontech.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M obexd/client/transfer.c

  Log Message:
  -----------
  obexd: Fix callback->func =! NULL in the xfer_complete() func

xfer_complete (obex=0x557d242c8cf0, err=0x557d242ca470,
user_data=0x557d242ca300) at obexd/client/transfer.c:659
659     obexd/client/transfer.c:
(gdb) n
661     in obexd/client/transfer.c
(gdb) n
663     in obexd/client/transfer.c
(gdb) p callback->func
$1 = (transfer_callback_t) 0x0
(gdb) n
668     in obexd/client/transfer.c
(gdb) n
671     in obexd/client/transfer.c
(gdb) n
672     in obexd/client/transfer.c
(gdb) n
676     in obexd/client/transfer.c
(gdb) n
677     in obexd/client/transfer.c
(gdb) n
0x0000000000000000 in ?? ()
(gdb) s
Cannot find bounds of current function
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.


Compare: https://github.com/bluez/bluez/compare/25dd5613d549...c6d3bcf3d005

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-13 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 18:26 [bluez/bluez] 5f9d9a: a2dp: disallow multiple SetConfiguration to same l BluezTestBot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.