Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] 75f75e: tools/iso-tester: fix GIOChannel refcounting
@ 2026-07-20 19:57 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2026-07-20 19:57 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1131086
  Home:   https://github.com/bluez/bluez
  Commit: 75f75eed2d13f5f981d0c24cffaf11fa494c2f3c
      https://github.com/bluez/bluez/commit/75f75eed2d13f5f981d0c24cffaf11fa494c2f3c
  Author: Pauli Virtanen <pav@iki.fi>
  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

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

only message in thread, other threads:[~2026-07-20 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 19:57 [bluez/bluez] 75f75e: tools/iso-tester: fix GIOChannel refcounting Pauli Virtanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox