[bluez/bluez] 75f75e: tools/iso-tester: fix GIOChannel refcounting

Pauli Virtanen <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1131086/[email protected]>
  Branch: refs/heads/1131086
  Home:   https://github.com/bluez/bluez
  Commit: 75f75eed2d13f5f981d0c24cffaf11fa494c2f3c
      https://github.com/bluez/bluez/commit/75f75eed2d13f5f981d0c24cffaf11fa494c2f3c
  Author: Pauli Virtanen <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M tools/iso-tester.c

  Log Message:
  -----------
  tools/iso-tester: fix GIOChannel refcounting

iso_defer_accept_* consume the reference passed in.  g_io_add_watch gets
a reference.

Fix the refcounting accordingly. Also clear data->io_queue immediately
after the test, so the sockets get closed.

Not leaking references makes "ISO Connect Close - Success" to work
correctly again, exposing a KASAN crash in current kernel.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.