* [bluez/bluez] d5afae: main: fix bool vs. gboolean type in g_option_conte...
@ 2025-12-04 20:49 Pauli Virtanen
0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2025-12-04 20:49 UTC (permalink / raw)
To: linux-bluetooth
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-04 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 20:49 [bluez/bluez] d5afae: 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