[bluez/bluez] 63201d: avdtp: fix not adding stream to global streams list

From: Pauli Virtanen <hidden>
Date: 2025-07-10 10:37:11

  Branch: refs/heads/980952
  Home:   https://github.com/bluez/bluez
  Commit: 63201df7daa4e326e706028e1fe3d7bf99af09d9
      https://github.com/bluez/bluez/commit/63201df7daa4e326e706028e1fe3d7bf99af09d9
  Author: Pauli Virtanen [off-list ref]
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M profiles/audio/avdtp.c

  Log Message:
  -----------
  avdtp: fix not adding stream to global streams list

stream_new() shall be used to create new avdtp_stream, so that they can
be found from global list.

Fix one case where it was not used.  Fixes crash when unregistering lsep
and then disconnecting, due to stream for the removed lsep not being
cleaned up when SEP is freed.

Fixes: https://github.com/bluez/bluez/issues/1325



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help