public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] c42a49: main: fix bool vs. gboolean type in g_option_conte...
@ 2025-12-05 14:53 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2025-12-05 14:53 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c42a49a243e48182b8d5050949cf26e9a961afe6
      https://github.com/bluez/bluez/commit/c42a49a243e48182b8d5050949cf26e9a961afe6
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M src/main.c

  Log Message:
  -----------
  main: fix bool vs. gboolean type in g_option_context_parse()

btd_opts.experimental and testing are bool, not gboolean, which may
cause memory to be clobbered and crash.

Fix with separate variable for cmdline option.

Log:
ERROR: AddressSanitizer: BUS on unknown address
    #0 0x0000005b9914 in queue_find ../src/shared/queue.c:230
    #1 0x00000057c0ff in btd_kernel_experimental_enabled ../src/main.c:721
    #2 0x0000004ff52f in read_exp_features_complete ../src/adapter.c:10230
    #3 0x0000005be40b in request_complete ../src/shared/mgmt.c:306



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:[~2025-12-05 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 14:53 [bluez/bluez] c42a49: main: fix bool vs. gboolean type in g_option_conte Pauli Virtanen

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