All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/3] profiles/audio: Fix uninitialized params.subgroup_data warning
@ 2025-08-20 14:15 Bastien Nocera
  2025-08-20 14:15 ` [PATCH BlueZ 2/3] tools/tester: Fix fd leaks Bastien Nocera
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bastien Nocera @ 2025-08-20 14:15 UTC (permalink / raw)
  To: linux-bluetooth

profiles/audio/bass.c:923:2: uninit_use_in_call: Using uninitialized value "params". Field "params.subgroup_data" is uninitialized when calling "util_iov_append".
---
 profiles/audio/bass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/audio/bass.c b/profiles/audio/bass.c
index 055d51b8927e..efa58e62b62f 100644
--- a/profiles/audio/bass.c
+++ b/profiles/audio/bass.c
@@ -918,7 +918,7 @@ static DBusMessage *push(DBusConnection *conn, DBusMessage *msg,
 {
 	struct bass_assistant *assistant = user_data;
 	struct bt_bass_bcast_audio_scan_cp_hdr hdr;
-	struct bt_bass_add_src_params params;
+	struct bt_bass_add_src_params params = {0};
 	struct iovec iov = {0};
 	uint32_t bis_sync = 0;
 	uint8_t meta_len = 0;
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-21 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 14:15 [PATCH BlueZ 1/3] profiles/audio: Fix uninitialized params.subgroup_data warning Bastien Nocera
2025-08-20 14:15 ` [PATCH BlueZ 2/3] tools/tester: Fix fd leaks Bastien Nocera
2025-08-20 14:15 ` [PATCH BlueZ 3/3] input: Fix incorrect destructors being used Bastien Nocera
2025-08-20 15:52 ` [BlueZ,1/3] profiles/audio: Fix uninitialized params.subgroup_data warning bluez.test.bot
2025-08-21 17:30 ` [PATCH BlueZ 1/3] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.