From: Pauli Virtanen <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] d5afae: main: fix bool vs. gboolean type in g_option_conte...
Date: Thu, 04 Dec 2025 12:49:55 -0800 [thread overview]
Message-ID: <bluez/bluez/push/refs/heads/1030592/000000-d5afae@github.com> (raw)
Branch: refs/heads/1030592
Home: https://github.com/bluez/bluez
Commit: d5afae15115de73c483e4a7dd6e479376e8592e2
https://github.com/bluez/bluez/commit/d5afae15115de73c483e4a7dd6e479376e8592e2
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-04 (Thu, 04 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
reply other threads:[~2025-12-04 20:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bluez/bluez/push/refs/heads/1030592/000000-d5afae@github.com \
--to=noreply@github.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox